How would i return the filesize of a file to show the filesize in a not-so-big-# fashion.

Example: 1024bk into 1mb...

or so on...


I've never had to deal with filesize so idk what to do.


cuz i mean 1015742 bytes doesnt look that nice. When its 991 kilobytes

Which would look better? 991 kb or 1015742 b