Add a fromString static method on Num that converts strings to numbers.

This commit is contained in:
Gavin Schulz
2015-02-22 20:06:17 -08:00
parent a9d9362e29
commit 03a5b96040
4 changed files with 34 additions and 2 deletions
+1 -1
View File
@@ -6,5 +6,5 @@ IO.print(-0) // expect: -0
IO.print(123.456) // expect: 123.456
IO.print(-0.001) // expect: -0.001
// TODO: Hex? Scientific notation?
// TODO: Scientific notation?
// TODO: Literals at and beyond numeric limits.