-can you enhance it to deal with powers of 1000?v9.70.0007 - 2010-11-11 13:29
...
KB, MG, GB, TB, or PB = usual bytes unit.
Thanks!::echo formatbytes("1000", "kb"); //1 kB
versus
::echo formatbytes("1024", "kib"); //1 KiB
-can you enhance it to deal with powers of 1000?v9.70.0007 - 2010-11-11 13:29
...
KB, MG, GB, TB, or PB = usual bytes unit.
Thanks!::echo formatbytes("1000", "kb"); //1 kB
versus
::echo formatbytes("1024", "kib"); //1 KiB
Yes, "MB", thanks.SkyFrontier wrote:-Misspelling?:-can you enhance it to deal with powers of 1000?v9.70.0007 - 2010-11-11 13:29
...
KB, MG, GB, TB, or PB = usual bytes unit.Thanks!::echo formatbytes("1000", "kb"); //1 kB
versus
::echo formatbytes("1024", "kib"); //1 KiB
Hmmmm... theoretically agree.admin wrote: kiB, nobody uses this. It's lifeless theory... or?
= highway to bloat.SkyFrontier wrote:Hmmmm... theoretically agree.admin wrote: kiB, nobody uses this. It's lifeless theory... or?![]()
Anyway, I'd prefer to see the standards ready to be shown to critics than not...