Solved

No cLong function?

Posted on 2004-04-02
2
658 Views
Last Modified: 2008-03-04
Hello,

Our ASP script which has worked well for years just died. The reason was because it had a cInt function trying to convert a number that grew to be above 32767 (the limit for an integer).

So, it failed with an Overflow error.

So, the number is too high for cInt. How come there is no cLong function, or something else that can convert huge numbers?

Thanks,
Steve
0
Comment
Question by:skbohler
2 Comments
 
LVL 10

Accepted Solution

by:
Shailesh15 earned 250 total points
Comment Utility
use CLng
0
 
LVL 32

Expert Comment

by:Big Monty
Comment Utility
Use CLng
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now