This function rounds a number to two decimals, puts in thousand-separators when appropriate and returns it as a TEXT.
amount ( input_number )
The result of this function is of type TEXT.
This function has one parameter:
@( amount( 1000.232 ) )
Result: 1,000.23 (note that this is a TEXT, not a NUMBER.)
This function is supported for number values limited to MAXINT(2^31 == 2,147,483,648). Above 2,147,483,648 the result of the function is undefined (although for some languages the result might be correct). You are recommended not to use this function for values over 2,147,483,648.