Bytes to kilobytes
I want to convert bytes to kilobytes and display as a string when i try to divide by 1024 it strips away everything after the whole number I want to keep the decimal part.
As so
1454 bytes
1.454 kb
right now it just does this
1 kb
any help would be greatly appreciated
thank you
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

kovanRank #1,453 · 1.1K reputationPosted Jul 19, 2004, 7:52 AM EDT
flipnjme19 reputationPosted Jul 19, 2004, 9:25 PM EDT
david 0Rank #8,108 · 228 reputationPosted Jul 20, 2004, 3:09 AM EDT