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
![*](bullet.gif)
This service uses the java.text.NumberFormat.parse method. It will throw an exception if the value in the input variable
string is unparsable.
![*](bullet.gif)
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.