String::FormatSizeWithPrecision — Return a pretty description of a byte count
Import String;
string
String::FormatSizeWithPrecision
( | integer | bytes , |
integer | precision , | |
boolean | omit_zeroes
) ; |
size (e.g. free diskspace, memory size) in Bytes
number of fraction digits in output
if true then do not add zeroes (usefull for memory size - 128 MB RAM looks better than 128.00 MB RAM)