In <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] ([EMAIL PROTECTED]) in a fit of 
unbridled passion, wrote:
> Huh?  Do you mean because of the leading zero?  Most of the time computers
> can ignore that.  What else makes it not an integer?  If I write it as
> 1,234,567,890 is it an integer?
> 
> Not wanting to fight, but curious..

The previous poster is incorrect. "01234567890" is indeed an integer.  
The computer of course ignores the leading 0. CF's precision will only 
go up to 999999999999 (12 digits) and then it starts using scientific 
notation.. (1.23456789012E+012).  So, if you want to handle numbers over 
a trillion precisely, you'll have to do some creative programming.

Also, beware the commas.  Strip them out before using val() or integer
().


> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 11, 2000 11:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Integer?
> 
> 
> How could a number "01234567890" be an integer? It's not even a real number!
> 
> 
> ------------------------------------------------------------------------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
> 

-- 

Reuben King <mailto:[EMAIL PROTECTED]>
Senior Web Consultant
Stonebridge Technologies <http://www.sbti.com/>
Phone: (512) 488-8885 x3332
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to