toInteger package:base-compat

conversion to Integer