Integration Server 10.15 | Built-In Services Reference Guide | Math Folder | Summary of Elements in this Folder | pub.math:toNumber
 
pub.math:toNumber
WmPublic. 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.