public native Int(value: String) throws BadValueException
Parses a string into an integer.
value = Int("123") assert value == 123