Sorry to say but that's old news. Basically, CF only allows a 32 bit number
for INTEGERS. This article I wrote about a year back gives a full rundown as
well as all the functions that are affected.
http://www.fusionauthority.com/alert/index.cfm?alertid=30#tech1
You can get around it by writing your own UDF to do the math for you rather
than using the 'basic' CF functions.


> Hi,
>
> You know, I just found a really huge ColdFusion limitation.  It can only
> work with numbers smaller than 2147483647, which is the same as 7FFFFFFF
in
> hex, 17777777777 in OCT, and 1111111111111111111111111111111 in binary.
It
> seems that ColdFusion only allocated 31 bits of memory to each number (I
> counted the 1's in binary).  Because of this limitation, you can't use the
> MOD operator, or the FormatBaseN and InputBaseN functions, of ColdFusion
> using numbers bigger than 31 bits.  It seems odd how ColdFusion would
limit
> a programmer like this.  Are there any ways to get around this?
>
> -Brent
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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