>- see footer for list info -< It's more a case of 1.2 and "1.2" being treated the same by ColdFusion.
Adrian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nick Middleweek Sent: 22 May 2008 10:25 To: Coldfusion Development Subject: Re: [CF-Dev] -257.14 - Int and Dec >- see footer for list info -< Hello, Does ColdFusion 'under the bonnet' treat everything as Strings or as Lists? Forgive me, if I'm getting my CF terminology mixed up but I've used Lists in other languages and can understand that a 'comma' seperated string is treated as List. And in CF, I can see that the String "1.2.3.4.5.6.7" is also a List but the numeric value 1.2 - I can't see it being a List. So does CF try to convert scalars to Strings when applying List commands to them? >From an understanding point of view and not that it'll make much difference on todays hardware but, which is faster when trying to find the Int and Dec or -257.14? Lists or Maths? There we go, a nice topic for a sunny Thursday! :-) Cheers, Nick 2008/5/14 Peter Boughton <[EMAIL PROTECTED]>: > >- see footer for list info -< > > Just looked up those commands, I like it! > > > > is that cheating? :) > > Of course not. The number is a two item list, so it's a valid use. > > Many things can be treated as lists - it's just a case of how your > mind looks at things. _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
