Skip to main content
Divides the dividend by the divider and emits the decimal quotient, the floor-rounded integer quotient, and the remainder.

Validation

Both inputs must be numerical (integer or float) and non-nil. The divider must additionally be non-zero. Any violation raises an error.

List behaviour

Either or both inputs may be lists. If both are lists of the same length, division is performed element-wise. If one is a list and the other is a single value (or a single-value list), the single value divides each element of the list. Any other list shape raises an error.

Ports