Formats the size according to the format fmt, automatically choosing the
prefix and performing the unit conversion.
The size is formatted as a floating point value, so fmt has to be a
floating-point-value format specification (s, f, F, e, E, g, G, a or A).
But when the unit is just bytes, it is formatted as an integer.
Formats the size according to the format fmt, automatically choosing the prefix and performing the unit conversion.
The size is formatted as a floating point value, so fmt has to be a floating-point-value format specification (s, f, F, e, E, g, G, a or A). But when the unit is just bytes, it is formatted as an integer.