// This fixes the common rounding errors, that are encountered when computing "((1/3) * 3)", which results
// in 0.99999 and not 1, as expected.
try
{
final Number number1 = typeRegistry.convertToNumber(textType1, textValue1);
final Number number2 = typeRegistry.convertToNumber(textType2, textValue2);
final double delta = Math.abs(Math.abs(number1.doubleValue()) - Math.abs(number2.doubleValue()));
if(delta < 0.00005)
{