Solved

Overflow: "cInt" ???

Posted on 2003-11-05
4
1,326 Views
Last Modified: 2012-06-22
well everything seems okie as first when i using this statement until when the amount got too big i guess...

it came out a error overflow cInt ...
is there a limit for it or something..i dunno

here r the values for the attributes

FNStockBalance= 2950
FNReservedQty= 50000
FNBackOrdQty= 80000

<%Response.Write(cInt(rs.Fields("FNStockBalance"))-cInt(rs.Fields("FNReservedQty"))-cInt(rs.Fields("FNBackOrdQty")))%>
0
Comment
Question by:auther
  • 3
4 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 9691568
Use Clng
0
 
LVL 58

Expert Comment

by:Gary
ID: 9691581
Make that CDbl
0
 

Author Comment

by:auther
ID: 9691585
wat's the diff between both of them ... and wat do they do?
0
 
LVL 58

Accepted Solution

by:
Gary earned 25 total points
ID: 9691589
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 recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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