Version: v0.5.1 - Beta.  We welcome contributors & feedback.  THanks!

String.toNumber

toNumber()

Description

Parse and convert to Number type.

'1234.56'.toNumber();
//= 1234.56

'99ft'.toNumber();
//= 99

See Also