Integration Cloud 6.6.0 | Built-In Services | Built-In Services | toNumber
 
toNumber
Converts a string to numeric data type.
Input Parameters
num
String Number (represented as a string) to be converted to numeric format.
convertAs
String Optional. Specifies the Java numeric data type to which the num parameter is to be converted.
Valid values for the convertAs parameter are java.lang.Double, java.lang.Float, java.lang.Integer,java.math.BigDecimal,java.math.BigInteger, java.lang.Long. The default value is java.lang.Double.
Output Parameters
num
java.lang.Number Converted numeric object.