Subject | SP Calculate Error. |
---|---|
Author | Gerhardus Geldenhuis |
Post date | 2001-06-04T11:05:12Z |
Hi
I have the following line of code that gives the wrong result. The result I
get is 39.8 instead of 49.75.
Most of the values is variables but I changed it to values to see if one of
the variables was at fault.
TEMPVAR = 39.8*(1+25/100);
If this one line is not enough I will post the whole procedure if need be.
Hopefully I am overlooking something obvious.
Groete
Gerhardus
I have the following line of code that gives the wrong result. The result I
get is 39.8 instead of 49.75.
Most of the values is variables but I changed it to values to see if one of
the variables was at fault.
TEMPVAR = 39.8*(1+25/100);
If this one line is not enough I will post the whole procedure if need be.
Hopefully I am overlooking something obvious.
Groete
Gerhardus