{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
ByteToText
Converts the number argument "bytes" into an appropriate text representation:
Usage:
ByteToText( number );
Returns:
Depending on the input, the following return values are used:
-
If the argument is less than 1024 bytes, then "xxx Bytes" is returned,
-
If the argument is in the range [1024,1048576] Bytes then "xxx KB" is returned,
-
If the argument is greater than this, then "xxx MB" is returned.
Examples:
ByteToText(345555); // returns "337 KB" ByteToText(5942880); // returns "5 MB"