getAsInt

Returns the value as Int.