StrD()
Syntax
Result$ = StrD(Value.d [, NbDecimal])Description
Convert a double number into a string. A maximum number of decimal places may be specified. The number will be rounded, if 'NbDecimal' is smaller than existing decimal places of 'Value.d'.
Note: Signed integer numbers must be converted with Str() and unsigned numbers with StrU().Example:
Value.d = 10.54 Debug "Result: " + StrD(Value, 2) ; we want a result with two decimal places, no rounding needed as we have only two Debug "Result: " + StrD(Value, 0) ; we want a result with no decimal places, so the value is rounded
Supported OS
Windows, Linux, MacOS X (x86)