There are financial functions made available by vb6, such as Rate, FV (future value), IPmt, PV (present value), SLN, and others. You might check any of these out.
And the more/less/or equal:
more than: >
less than: <
more or equal: >=
less or equal <=
If 1 > 2 then
' Do something
elseif 3 <= 2 then
' Do something else
else
' You'll always end up here..
end if
note that you will want to use paranethesis to denote the precedence in complex calculations.
Woody Z
http://www.learntoprogramnow.com