todouble()
Converts the input expression to a value of type real
.
The
todouble()
andtoreal()
functions are equivalent
Syntax
todouble(
Expr)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
value | scalar | ✓ | The value to convert to real. |
Returns
If conversion is successful, the result is a value of type real
. Otherwise, the returned value will be real(null)
.
Example
todouble("123.4") == 123.4
Note
Use double() or real() when possible.
Feedback
Submit and view feedback for