byte to kilobyte (14)

1 Name: esel 2005-09-05 19:44 ID:gKK6j51J [Del]

Is there an easy way to change wakaba, so that it displays the imagesize as KB and not B?

2 Name: Anonymous 2005-09-05 22:20 ID:xI2Vw3Wx [Del]

replacing all "<var $size> B" in with "<var $size/1024> KB" should do the trick

3 Name: dmpk2k!hinhT6kz2E 2005-09-06 02:50 ID:9mVuynD2 [Del]

Maybe this should go into the stock distro. Less clutter.

4 Name: esel 2005-09-06 13:45 ID:gKK6j51J [Del]

that worked. but now i have like 8 digits after comma. (322.4212342 KB) An easy way to fix this?

5 Name: Anonymous 2005-09-06 16:47 ID:NLhPcMmt [Del]

var int($size/1024)

I presume you don't care about it being really accurate.

6 Name: EleoChan!!MEWiaHtG 2005-09-07 13:44 ID:Xs0loOCk [Del]

The whole thing with /1024 confuses me as there's this massive confusion between 1000^x and 1024^x that I still don't quite understand. (Hard drive is 1000 and windows counts by 1024 which makes your HDD seem smaller than it is.)

7 Name: !WAHa.06x36 2005-09-07 13:58 ID:r6LRK898 [Del]

Actually, no, hard drives only count in 1000:s because that makes them seem bigger. Traditionally storage space is always counted in 1024:s.

8 Name: Anonymous 2005-09-07 17:03 ID:EpjCA0AC [Del]

1000 = KB
1024 = KiB

9 Name: !WAHa.06x36 2005-09-07 17:41 ID:r6LRK898 [Del]


If you wanted to be some sort of SI nazi, that'd be "kB". That would make 1024 B "1 kiB", which is even more annoying than what you suggested. This whole "kibibytes" things is horrendously retarded, and nobody really cares. Just drop it.

10 Name: Anonymous 2005-09-07 21:27 ID:Heaven [Del]

>>9 is a kibologist

11 Name: Anonymous 2005-09-07 21:30 ID:lE1LFT8O [Del]

it'; actually "k" and "Ki"... and of course it's retarded, SI is french.

12 Name: test 2005-09-07 23:54 ID:Heaven [Del]

As opposed to the English system, yo.

We should all weight our food in slugs.

13 Name: test 2005-09-07 23:55 ID:Heaven [Del]

Fix the @%!^$ cookie code already!

14 Name: Anonymous 2005-09-19 18:58 ID:Heaven [Del]

This isn't something I see as worth adding into Wakaba just because one person requested it. Besides, it's easy enough to do by yourself.

Name: Link:
Leave these fields empty (spam trap):
More options...