Help Contents / Arithmetic / Type Converters / trunc

truncate num
trunc num

outputs the biggest integer absolutly smaller than num. 

Examples: 

	trunc 1.2		;1  ;-) 
	trunc -1.2		;-1  ;-) 
	trunc 1.9		;1  ;-) 
	trunc -1.9		;-1  ;-) 
	trunc [1.2 -1.2 1.9 -1.9]		;[1 -1 1 -1] ;-) 


previous: round	next: Signum
