div

Gamma: Version 4.0
Prev |  | Next

# `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

Prev | Home | Next
`cos`, `sin`, `tan` | Up | `exp`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.