The string function StrLib.formatNumber returns a number as a formatted string.
StrLib.formatNumber( numericExpression anyNumericExpression in [ , numericFormat STRING in] ) returns (result STRING)
You can use the system variable StrLib.defaultMoneyFormat or StrLib.defaultNumericFormat. For details on those variables, see defaultMoneyFormat and defaultNumericFormat.
.