Convert numbers question |
Hi,
I want to be able to convert my KB numbers. For example the out put I am after lets say if my string is 471858 KB/MB then I would like it to change be able to echo to 0.04 GB I can't seem to get it to work for round($count, 1) What would be best way. I have tried some kb to gb converter script like but does not convert it to like 0.04GB PHP Code: function byte_convert($size) { PHP Code: $quota = imap_get_quotaroot($mbox, "INBOX"); |
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
|