number (x)

The number(x) function converts the string x to an integral number. The input should not be formatted.

This function returns a value of type Number.

Example

number ("42")

Result: 42.