https://github.com/jrincayc/ucblogo-code
Revision 5d18e80864eb0edade94c46f6e180952129f0f25 authored by Joshua J. Cogliati on 28 December 2020, 17:31:21 UTC, committed by Joshua J. Cogliati on 28 December 2020, 17:31:21 UTC
2 parent s 707422d + d8fc446
Raw File
Tip revision: 5d18e80864eb0edade94c46f6e180952129f0f25 authored by Joshua J. Cogliati on 28 December 2020, 17:31:21 UTC
Merge remote-tracking branch 'origin/master' into release_6_2_work
Tip revision: 5d18e80
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.

back to top