Converts a numeric value into a string that represents the number expressed as separated groups of digits to the left of the decimal
#include <WinAPIConv.au3>
_WinAPI_StrFormatByteSizeEx ( $iSize )
$iSize | The numeric value to be converted. |
Success: | The converted string. |
Failure: | Empty string and sets the @error flag to non-zero. |
#include <WinAPIConv.au3>
Local $aVal[5] = [532, 1340, 23506, 2400016, 2400000000]
For $i = 0 To 4
ConsoleWrite(StringFormat('%10s %19s', $aVal[$i], _WinAPI_StrFormatByteSizeEx($aVal[$i])) & @CRLF)
Next