Quote Originally Posted by Logophobic
@Martin: That is identical to my code with positive values, but returns undesireable results with negative values.
You're right.

MsgBox Abs(x) - Int(Abs(x))