toInt

HC Arithmetic Print formatting toInt
intForm setPrintPrecision

toInt aword base


outputs aword scanned in like with scanf and converted to an integer, using base as base of the number representation.

Example:

toInt "1234 10	;1234  ;-) 
toInt "8A 16	;138  ;-) 
toInt "101101 2	;45  ;-) 

Example:

Reference:

intForm setPrintPrecision