Converts the received numeric data to a bigDecimal data type.

# 1 object.2bigDecimal

<object.2bigDecimal>    <number /> !</object.2bigDecimal>
Example

A string with value 1.1 is declared and converted to a bigdecimal. To check the correct type conversion, it is additioned to a decimal value of 3.7 and shows the value of the sum. The converted value is is correctly treaty as a decimal and performs the operation.

Copy
<xsql-script name='object_2_big_Decimal'>
<body>
<set name='num'>
<object.2bigDecimal>
<string>1.1</string>
</object.2bigDecimal>
</set>
</xsql-script>