handle negative numbers for number: true