Help Contents / Arithmetic / Print formatting / toInt

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  ;-)  


previous: intForm	next: setPrintPrecision
