getAsInt

Returns the value as an Int.