P
pvong
I'm using VS2005 trying to do a simple ASP.net page.
I'm just trying to specify an IF state where it is looking at the answer to
see if it's between 0.02 and -0.02. Where I'm stuck is the negative number.
Below is the simple line and what I tried but I didn't work. I've already
defined CheckCurrentMktPx and CheckExecPx.
Dim CheckAnswer As Decimal = (CheckCurrentMktPx - CheckExecPx) /
CheckCurrentMktPx
if checkanswer > 0.02 or < -0.02
I'm just trying to specify an IF state where it is looking at the answer to
see if it's between 0.02 and -0.02. Where I'm stuck is the negative number.
Below is the simple line and what I tried but I didn't work. I've already
defined CheckCurrentMktPx and CheckExecPx.
Dim CheckAnswer As Decimal = (CheckCurrentMktPx - CheckExecPx) /
CheckCurrentMktPx
if checkanswer > 0.02 or < -0.02