Sfairadora

  • Reference Guide

tidy_number

tidy_number(x)
tidy_number(x, precision)
Converts the real number x to a string according to the local settings. The decimal sign and the thousand separator are taken from the document Settings. If the precision parameter is specified, the number returned will be formatted with exactly that number of decimal positions. If no precision is specified (or is negative), the maximum number of decimal positions is used, nonetheless the trailing zeros are removed. The function returns a String.

See Also