slang-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] eval function


Hi,

I noticed that in slang :
eval("0.123") return a float : 0.123
eval(".123") return an integer : 123

This behavior is different than the one of eval function in python or
perl, and I was wondering if it is a mistake ?

Regards ;


Laurent.

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]