divmod

divmod dividend divisor

The quotient and the remainder of two integers of any size, as a list. The quotient is rounded down, as / of expr does, so the remainder has the sign of the divisor.

Examples

Errors

Facts

Differences from Tcl 8.6