Print Page | Close Window

Overflow: ’cint’

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=1999
Printed Date: 29 March 2026 at 9:49am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Overflow: ’cint’
Posted By: ngaisteve1
Subject: Overflow: ’cint’
Date Posted: 22 April 2003 at 9:06pm
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.



Replies:
Posted By: ultramods
Date Posted: 23 April 2003 at 6:24am
What values are you entering into the sum? If the values are bigger than 32,767 or smaller than -32,768, then you may get an error when trying to use cint(). You could try using CLng() or CDbl().



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net