1 number.userFormat
<number.userFormat>
<value /> !
</number.userFormat>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evalue | Number |
Returns | |
---|---|
Type | Description |
String | If the value received is null, immediately it will return null as result. |
Exceptions
requires 1 arguments, received: 0
The function needs an entry value.
user must be set for operations
An user is required to obtain its locale.
nvalid number "..."
The value passed to the function is impossible to form, since it is not a numeric value, because it contains non-numeric characters different from the comma ',' and the point '.' ...
Remarks
It is necessary that the user will be identified to obtain the user's numeric format.
Converts a number to the user's format. In this case, the display formnat is european and for this reason, the number 444.98 (in machine format) will be displayed as 444,98 (the comma ',' is the decimal separator in european format).
<xsql-script name='number.userFormat_sample1'> <body> <println> <number.userFormat>444.98</number.userFormat> </println> <!-- The value shown is 444,98 --> </body> </xsql-script>