Hybrid Integration 10.2 | Integrating Cloud Applications on Software AG Hosted Environment | Integration Cloud | Develop | Integrations | Built-In Services | Math | Summary of Math 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.

Copyright © 2015- 2018 | 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.