Use AlmostEqual for numerical comparison.