(*stack).PopInt

Description

PopInt pops the value off the top of the stack, converts it into a script
num, and returns it. The act of converting to a script num enforces the
consensus rules imposed on data interpreted as numbers.