Skip to content

divmod

divmod calculates integer division and modulo for a dividend and divisor, outputting the quotient and remainder. Both inputs are converted to integers; changing the right inlet produces results, while a zero divisor is ignored, and a bang recalculates using the last inlet values.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for maxlib and install it. Then create an object with declare -lib maxlib -path maxlib. Finally, use divmod or any other object from maxlib.

  • Available for .

Similar


    Comments

    Contributors