toInteger package:ginger

Convert a GVal to an Integer The conversion will fail when the value is not an integer