Solved

No cLong function?

Posted on 2004-04-02
2
694 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 33

Expert Comment

by:Big Monty
ID: 10742562
Use CLng
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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