Supporting isGreaterThan for PTNumber.