I'm making a small calculator project which will write the amount of fence posts needed for a fence on my parents farm depending on the input from the form. .
Here is what I'm using.
Code:
<%
dim PostNo 'The variable for the number of posts
dim PostSp 'The variable for spacing between posts
dim PaceAm 'The variable for the amount of paces
dim PaceSz 'The variable for the size of the paces
PostSp = Request.Form("fPostSp")
PaceAm = Request.Form("fPaceAm")
PaceSz = Request.Form("fPaceSz")
PostNo = PaceAm*PaceSz/PostSp
Response.Write(PostNo)
%>
I get an error stating
overflow. What does it mean? Is it that the variable has to much information?