![]() |
filesize
is there a way to display file size in kbs?
using the php filesize function of course. |
PHP Code:
|
Quote:
|
Actually it should be 1024, not 1000.
|
ok now I got another question... How do I make it round off to the hundreths place?
|
|
Quote:
|
Quote:
http://en.wikipedia.org/wiki/Kilobyte |
kilo = 1000, so even if , and i agree, 1 kilobyte = 1024 byte, it is a misuse of that prefix.
|
Maybe so, but that doesn't change the history of the words.
|
http://en.wikipedia.org/wiki/Binary_prefix
Quote:
Quote:
Quote:
|
|
| All times are GMT -5. The time now is 11:58 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.