toDouble
Description
Tries to coerce value into a double (64-bit floating point value). If value is a number, the conversion is direct. If value is a string, it is parsed to see if it represents a double. If not, type casting fails.
Syntax
toDouble( value, [failover] )
Examples
toDouble(
"38.772"
)
//returns 38.772
toDouble({Root Container.TextField.text},
0.0
)
//returns the value in the text box as a double, or 0.0 if the value doesn't represent an number.