- Subject: [slang-users] eval function
- From: Laurent Perez <Laurent.Perez@xxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 15:15:08 +0200
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]