verify is number
simplify inequality test