> B = A - round(A)

That's incorrect.  Let A be 2.98, then the desired value of B is .98.
A - round(A) -> 2.98 - round(2.98) - > 2.98 - 3 -> -.02 which does not
equal .98.


Reply via email to