Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Util Folder | Summary of Elements in this Folder | wm.tn.util:stringToDouble
 
wm.tn.util:stringToDouble
Converts a java.lang.String object to a java.util. Double object.
Input Parameters
string
String The String you want to convert to a java.util.Double object.
Output Parameters
value
Object The converted Double value.
Usage Notes
*This service uses the java.text.NumberFormat.parse method. It will throw an exception if the value in the input variable string is unparsable.
*If the value in the input variable string contains both digits and non-numeric characters, this service ignores all digits following the first non-numeric. For example, if string contains “123x45.67”, the service returns 123 in value.