Quote:
Originally Posted by Boofo
You're percentage seems to be off. It is showing 2 when it should be .013, or .01.
This works:
Code:
$totalpmpercent = $vbulletin->userinfo['pmtotal'] / $vbulletin->userinfo['permissions']['pmquota'];
$pmpercent = vb_number_format($totalpmpercent, 2);
|
Hi,
It should be 1.3 but as I am using ceil function which returns the next highest value, it displays 2. I will use vb_number_format in next release.