New built-in function to_double(s: string).

Closes #859.
This commit is contained in:
Robin Sommer 2012-07-24 15:04:14 -07:00
parent 43752b3d9f
commit c36a449c76
6 changed files with 51 additions and 1 deletions

View file

@ -0,0 +1,5 @@
to_double(3.14) = 3.14 (SUCCESS)
to_double(-3.14) = -3.14 (SUCCESS)
to_double(0) = 0.0 (SUCCESS)
to_double(NotADouble) = 0.0 (SUCCESS)
to_double() = 0.0 (SUCCESS)