Compare two number with tolerance in %

thanks this is perfect!