The # at the end of the number was a dead giveaway!October 18 2007 at 10:39 PM
|Clippy (Login burger2227)|
Response to Re: Why are you dimming DOUBLE numbers as SINGLE?
My version of QB 4.5 placed it there when I typed it in.
I gather your's did not. So I tried making N AS DOUBLE and the .5000001 tipped the scales in favor of CINT. Of course with larger numbers CINT would bomb!
I was stumped for a while, like you were about the 255 value being rounded.
I was thinking perhaps it had something to do with 256 values in QB.
Then I came up with the fact that SINGLE cannot use that many places. So the one was never read.