added scientific notation

This commit is contained in:
minirop
2015-08-16 11:50:45 +02:00
parent 9b18d38546
commit 0c539af6ac
9 changed files with 32 additions and 3 deletions
@@ -0,0 +1,9 @@
var x = 2.55e2
IO.print(x) // expect: 255
IO.print(x + 1) // expect: 256
IO.print(x == 255) // expect: true
IO.print(2.55e-2 is Num) // expect: true
IO.print(x is Num) // expect: true
IO.print(-2.55e2) // expect: -255
IO.print(-25500e-2) // expect: -255