Also, watch your mix-and-match of variables. If you need a floating point result, make sure your elements doing the math aren't integers, or you will get ugly surprises for your results.
Where x= an integer (not floating point):
x=3.0/4.0 gives an answer of 1, not .75
and
x=3/4 gives an answer of 0 (zero), not .75
and
x#=3/4 gives 0.0 for an answer, not .75
Where x= an integer (not floating point):
x=3.0/4.0 gives an answer of 1, not .75
and
x=3/4 gives an answer of 0 (zero), not .75
and
x#=3/4 gives 0.0 for an answer, not .75