[thelist] ASP: cInt() VS int()
Ken Kogler
ken.kogler at curf.edu
Tue Aug 20 20:13:01 CDT 2002
I was using cInt() in an app I'm writing, but as soon as the number goes
over the magical limit (36,000 and change), I get an overflow error. So
I switched to int(), which can handle bigger numbers.
But I just discovered that int() is dropping everything after the
decimal. MSDN's docs say that it's designed to do that (another
"feature" I guess), but I'm doing multiplication with currency, and I
need the part after the decimal!
Anyone know a way around this?
--Ken
More information about the thelist
mailing list