Hi list,

I'm currently using neko to implement a Self-like language and am
proceeding very well.
However, recently i found an annoying bug in $float().
To cite the spec ( http://nekovm.org/specs#conversions ):

To convert a string to a float you can use the $float builtin :

$float("1.345"); // 1.345
$float(12345); // 12345.0000
$float($array()); // null

$float(12345) returns null as well, it only handles float and string.
I tried with the cvs version but it still shows this behavior. Hope
this helps, since converting via $float($string(1)) isn't very
performant or nice :)

Thanks,
^ manveru

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to