webMethods Integration Cloud and Cloud Deployment Documentation 6.0.0 | webMethods Integration Cloud | Built-In Services | Built-In Services | Math | 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.

Copyright © 2014- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.