Convert numbers question |
(12-23-2017, 06:27 AM)Wouter60 Wrote: Maybe this will help: I tried this $this->format_size($count, 'GB') PHP Code: function format_size($size, $unit = 'MB', $decimals = 2) { My all the total of my email sizes are 471858 But only returns 0.00 GB not 0.04 GB
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
Convert numbers question - by wolfgang1983 - 12-23-2017, 05:01 AM
RE: Convert numbers question - by Kel_Novi - 12-23-2017, 06:05 AM
RE: Convert numbers question - by Wouter60 - 12-23-2017, 06:27 AM
RE: Convert numbers question - by wolfgang1983 - 12-23-2017, 01:27 PM
RE: Convert numbers question - by PaulD - 12-23-2017, 03:54 PM
RE: Convert numbers question - by wolfgang1983 - 12-23-2017, 04:04 PM
|