div

div — divides, giving an integer result.

Syntax

div (number, number)

		

Arguments

number

Any number.

Returns

The integer result of the division of the first argument by the second.

Description

This function is equivalent to (floor (number/number)) .

Example

Gamma> div(12,5);
2
Gamma> div(23423,899);
26
Gamma> 
		

See Also

Arithmetic Operators