At 08:19 AM 3/19/2005, you wrote:
I've been using eq everywhere but I'm getting the feeling that == is faster comparing numbers. Is that true?
I don't know about faster, but it is the more correct operator to use, as the string comparison operator will not always yield correct results for numbers, i.e.:
'1' eq '1.0' # numerically true, but will return false
1 == 1.0 # numerically true, and will return true
Ed
===============================================================
New Media LLC Technology Solutions for Business
11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting
Fair Oaks, CA 95628 suppressed
(916) 961-0446 http://www.newmediaems.com
(866) 519-4680 Toll-Free (916) 961-0447 Fax
===============================================================
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.