simplify Number.toInteger()