Convert a number to the user's fomat (display format) and returns the resulting string.

# 1 number.userFormat

<number.userFormat>    <value /> !</number.userFormat>

#### Exceptions

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.

Example

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).

Copy
<xsql-script name='number.userFormat_sample1'>
<body>
<println>
<number.userFormat>444.98</number.userFormat>
</println>
<!-- The value shown is 444,98 -->
</body>
</xsql-script>