Puedes utilizar la función
CompareValue definida en la unit Math.
Cita:
Call CompareValue to determine the relationship between two numeric values. When comparing floating-point values, CompareValue lets you specify a maximum difference to use when comparing values, so that they are considered the same if they are within that amount.
|
Saludos!