RepairNumber

Public Function RepairNumber(ByVal pNumber As Double) As Double

A helper to fix precision issues for Doubles and Decimals, like numbers as 9.9999999999 which had to be 10 or 25.0000000000000000001 that had to be 25.

See also: