Format a file size to an appropriate order of magnitude.
The size in bytes.
Optional
The number of decimal places to round to.
The base to use. In base 10 a kilobyte is 1000 bytes. In base 2 it is 1024 bytes.
Format a file size to an appropriate order of magnitude.