Link to home
Start Free TrialLog in
Avatar of auther
autherFlag for Singapore

asked on

Overflow: "cInt" ???

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")))%>
Avatar of Gary
Gary
Flag of Ireland image

Use Clng
Make that CDbl
Avatar of auther

ASKER

wat's the diff between both of them ... and wat do they do?
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial