grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedMaths
Modulus
00000000-5da1-4a1b-b604-d47d53adc413
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Compute the remainder left over after dividing one value by another.

Input parameters:

  1. A → Value to divide.
  2. B → Value to divide by.
  3. T → Sign convention used when the value and the modulus have opposite signs.
    •  True → Truncate
    • False → Floor

Output parameters:

  1. R → Remainder of the division.