We help IT Professionals succeed at work.

No cLong function?

skbohler
skbohler asked
on
Medium Priority
741 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
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Big MontyWeb Ninja at large
CERTIFIED EXPERT

Commented:
Use CLng
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.