Solved

No cLong function?

Posted on 2004-04-02
2
668 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
ID: 10742554
use CLng
0
 
LVL 32

Expert Comment

by:Big Monty
ID: 10742562
Use CLng
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
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/…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

17 Experts available now in Live!

Get 1:1 Help Now