Converts numeric data to integer, ignoring the decimals in case of having.
1 object.2integer
<object.2integer>
<object /> !
</object.2integer>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Eobject | string/number | Element to convert, it should contain only numeric values. |
Returns | |
---|---|
Type | Description |
Integer |
Example
Copy
<xsql-script name='object_2_integer'> <body> <println> <object.2integer> <number>1024.364</number> </object.2integer> </println> </body> </xsql-script>