PDA

View Full Version : Overflow: 'cint'


ngaisteve1
04-22-2003, 11:23 PM
update_balance = balance + cint(tmp_new_balance_receiving) - tmp_new_balance_issue

My code above generate this error.

Microsoft VBScript runtime error '800a0006'

Overflow: 'cint'

What does it mean? Thanks.

yelena_l
04-23-2003, 05:01 PM
May be tmp_new_balance_receiving is too big?
The range of numbers that cINT can convert is between -32,768 to 32,767. Try int() if possible.

ngaisteve1
04-23-2003, 09:26 PM
I got it. I use clng and it works.