The following table describes the argument for this function:
Argument
Description
value
Use a Boolean or string value.
Return Value
The function returns a number for the following data:
A string converts to a number if the string contains a numeric character. The string can contain white space and include a minus sign followed by a number. White space can follow the number in the string. Any other string is Not a Number (NaN).
A Boolean TRUE converts to 1. A Boolean FALSE converts to 0.
If a value passed as an argument to the function is not a number, the function returns Not A Number (NaN).
Example
The following expression converts payment to a number:
number ( PAYMENT )
The following table contains example arguments and return values: