Returns the numeric value represented by a string.
Syntax
Val ( stringExpr )
Elements
stringExpr
Val returns the converted part of stringExpr as a Double.
Usage
Val strips out spaces, tabs, carriage returns, and newlines from stringExpr. It starts converting from the beginning of the string and stops when it encounters a character other than those listed for stringExpr in the preceding list.
Language cross-reference
@TextToNumber function in formula language
Example See Also