Implemented number comparisons