Help Contents / Arithmetic / Numeric Operations / Quotient

Quotient num1 num2
(Quotient num)num1 / num2 

outputs the quotient of its inputs.  The quotient of two integers is an integer if and only if the dividend is a multiple of the divisor. (In other words, QUOTIENT 5 2 is 2.5, not 2, but QUOTIENT 4 2 is 2, not 2.0 -- it does the right thing.)  With a single input, QUOTIENT outputs the reciprocal of the input. 

Examples: 

	2/3		;0.666667  ;-) 
	pi/2		;1.5708  ;-) 
	[1 2 3]/[4 5 6]		;[0.25 0.4 0.5] ;-) 

	Quotient 2 3		;0.666667  ;-) 
	Quotient pi 2		;1.5708  ;-) 
	Quotient [1 2 3] [4 5 6]		;[0.25 0.4 0.5] ;-) 
	(Quotient 4)		;0.25  ;-) 


next: Remainder
