Coerce.toFloat64
This function converts the specified value to float64.
Syntax
coerce.toFloat64(value)
Arguments
|
Argument |
Type |
Description |
|---|---|---|
|
value |
any |
The value to be coerced. |
Returns
|
Type |
Description |
|---|---|
|
float64 |
The coerced float64 value. |
Examples
The function coerce.toFloat64("3.3") returns 3.3.