align the equals
ensure we are dealing with a number
make sure it is a non negative number
only display our errors to admins. Visitors should not see such things