Solved

No cLong function?

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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…

770 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