Skip to content

dos_div

Dale Fugier edited this page Nov 1, 2023 · 1 revision

Computes the quotient and the remainder of two integers.

Syntax

(dos_div numerator denominator)

Parameters

numerator

The numerator.

denominator

The denominator.

Returns

A list comprising the quotient and the remainder, if successful.

nil on error.

Example

Command: (dos_div 876 13)
(67 5)
Clone this wiki locally