Skip to content

to_number

Signature

to_number(any)

Description

Returns the parsed number.

Examples

to_number('1.0') == `1`
to_number(`1.0`) == `1`
to_number(`false`) == null