Compare two numbers

maybe this thread will help Compare two values to generate a difference value