Number ( string )
| Argument | Description |
|---|---|
| string | The string you want returned as a number. |
Data type *Number” Returns the contents of string as a number. If string is not a valid number, Number returns 0.
Example 1
Section titled “Example 1”This expression converts the string 24 to a number:
Number('24')