Returns a numerical value of the specified Unicode character.
 

1 character.getNumericValue

<character.getNumericValue>
    <data /> !
</character.getNumericValue>

Exceptions

requires 1 argument, received [...]

Missing a parameter.

single character required while received [...]

A single character is required.

Example

Get a character from a numerical value.

Copy
<xsql-script name='character.getNumericValue_sample1'>
    <body>
        <println>
            <character.getNumericValue>*</character.getNumericValue>
        </println>
        <!-- Muestra -1 -->
        <println>
            <character.getNumericValue>m</character.getNumericValue>
        </println>
        <!-- Muestra 22 -->
    </body>
</xsql-script>
Example

The result will be:

Copy
-1
22