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