add Math.parseNum #1981
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-duplicate
Closed in favor of an existing report
type-enhancement
A request for a change that isn't a bug
We should have a parseNum that parses both ints and doubles.
Example:
Math.parseNum("0xA"); // => 10
Math.parseNum("1.2e3"); // => 1200.0
Math.parseNum("1.0"); // => 1.0
Math.parseNum("1"); // => 1
The text was updated successfully, but these errors were encountered: