FormatDecimals |
[This is preliminary documentation and is subject to change.]
The FormatDecimals function is used for formatting objects of type float into a string with a given number of decimals
FormatDecimals(floatValue, numberOfDecimals)
Result type: String.
Name | Type | Description |
---|---|---|
floatValue | Float | The float value that should be formatted with decimals. |
numberOfDecimals | String | Number of decimals that the retunred string should have |
formatted value with set number of decimals
Type: String.
formatdecimals(42.9, 7)
Result: 42.9000000