Formats a number according to the locale and formatting options of this NumberFormat object
Number to format
Number of decimal places to round to
String representing the given number formatted according to the locale and formatting options of this NumberFormat object
FormatBytes(1024) => "1 KB" Copy
FormatBytes(1024) => "1 KB"
FormatBytes(1024, 0) => "1 KB" Copy
FormatBytes(1024, 0) => "1 KB"
Formats a number according to the locale and formatting options of this NumberFormat object