The script bellow does not work right.
cfscript
myone = toString(20031125160712114);
mytwo = toString(20031125160712113);
if (#mytwo# NEQ #myone#) {
writeoutput(#myone# and #mytwo# are bnot/b the same);
} else {
writeoutput(#myone# and #mytwo# are the same);
}
/cfscript
Try it out and
CF does have a concept of a maxint, the largest number it can hold
correctly. Unfortunately when you run into this, you never get an exception,
you just get wierd behaviour. For example, dateDiff, when returning a result
that is too big, will simply roll over. I'm not quite sure what the best way
Well we ended up using CONTAINS and DOES NOT CONTAIN and it seems work
consistently. Well I think that this is an issue that should at lease,
as you say, throw and exception.
On Jun 15, 2004, at 1:03 PM, Raymond Camden wrote:
CF does have a concept of a maxint, the largest number it can hold
3 matches
Mail list logo