Yeah, I  was like huh....?


"Success is a journey, not a destination!!"



Doug Brown
----- Original Message -----
From: "Mark A. Kruger - CFG" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 12:36 PM
Subject: RE: isNumeric Trivia


> Dave.... master of mathematical errata....
>
> -----Original Message-----
> From: Dave Watts [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 26, 2002 2:36 PM
> To: CF-Talk
> Subject: RE: isNumeric Trivia
>
>
> > Pardon me if this has been covered before but why does the
code:
> >
> > <cfoutput>
> >     #isNumeric('3D2')#<BR>
> >     #isNumeric('4E2')#<BR>
> >     #isNumeric('3424234E23')#<BR>
> >     #isNumeric('6456423D324')#<BR>
> > </cfoutput>
> >
> > return 'YES' values? It will work with any combination of
> > numbers as long as there is at least one number in front
> > of the letter and no more than three numbers after a 'D'
> > or two numbers after an 'E'. It doesn't seem to work with
> > any other letters...
>
> Those ARE numbers. "E" signifies an exponential value, as used
in scientific
> notation. "D" signifies decimal places, I think. I'm sure
there's a correct
> label for that notation too, but I don't remember what it is.
So, if you ran
> this:
>
> <cfoutput>#Val("3D2")#</cfoutput>
>
> you'd get this:
>
> 300
>
> and if you ran this:
>
> <cfoutput>#Val("3D-1")#</cfoutput>
>
> you'd get this:
>
> 0.3
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
>
>
>
__________________________________________________________________
____
> This list and all House of Fusion resources hosted by
CFHosting.com. The place for dependable ColdFusion Hosting.
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists
>

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to