Version: v0.8.1 - Beta.  We welcome contributors & feedback.

String.toNumber

toNumber() -> number

Description

Parse the string and convert it to a Number type.

'1234.5'.toNumber()
//= 1234.5

See Also