TolliumUser::FormatFloat (open)
Format a float value partly according to the user's preferences
Syntax
LOADLIB "mod::tollium/lib/users.whlib";
STRING FUNCTION FormatFloat(FLOAT value, INTEGER decimals)Parameters
FLOAT valueThe float value to format
INTEGER decimalsThe number of decimals (range 0 to 5)
Return value
STRINGThe formatted float
Description
This function returns a money value as a string. The user's separator preference (only for the decimal (for example the ".") seperator) will be applied.