Incari Studio
1.0.0
1.0.0
  • INCARI Studio Documentation
  • Getting Started
    • Minimum Requirements *
    • Installation and License *
    • Creating a Project
    • Project Objects
      • Screen
      • Scene
    • Scene Objects *
      • Camera
      • Group
      • Mesh
      • Lights
      • List Widget
      • Text
      • Web Sprite
    • Attributes
      • Common Attributes
        • Object
        • Rotation Pivot
        • Sprite
        • Transformation
      • Attribute Types
        • Boolean Attributes
        • Numerical Attributes
        • Color Attributes
        • Asset/Object Attribute
    • Interface *
      • Modules *
        • Logic Editor
        • Project Outliner
  • Toolbox
    • Date Time
      • Now (UTC)
      • System Time
      • Timezone Value
    • Flow Control
      • Branch
      • Is Equal
      • Is Greater Equal
      • Is Less Equal
      • Select Data
      • Sequential
      • Switch
      • Toggle
  • Math
    • Absolute
    • Add
    • Average
    • Boolean
      • AND
      • Negate
      • OR
    • Ceil
    • Clamp
    • Decrement
    • Divide
    • Floor
    • Increment
    • Interpolate
    • Logarithm
    • Math Constant
    • Maximum
    • Minimum
    • Modulo
    • Multiply
    • Power
    • Range Mapper
    • Root
    • Subtract
    • Trigonometry
      • Arc Cosine
      • Arc Sine
      • Arc Tangent
      • Cosine
      • Radian-Degree Converter
      • Sine
      • Tangent
Powered by GitBook
On this page
  • Overview
  • Attributes
  • Inputs
  • Outputs
  • External Links

Was this helpful?

  1. Math

Modulo

PreviousMinimumNextMultiply

Last updated 3 years ago

Was this helpful?

Overview

Modulo takes two Numerical Type Inputs; a (the dividend) and b (the divisor) and returns the remainder of the division of a and b.

Unlike normal division, this kind of operation, actually considers how many times the divisor fits into the dividend in its entirity (the quotient), with the remainder being the amount that is left over.

Dividend (a)

Divisor (b)

Quotient

Remainder (c)

10

25

2

5

5.5

1.5

3

1

540

360

1

180

15

12

1

3

Attributes

Attribute
Type
Description

Data Type

Defined in the Data Type Attribute.

The Numerical Data Type of both the dividend and the divisor (a and b)

Inputs

Input
Type
Description

Pulse Input (►)

Pulse

A standard Input Pulse, to trigger the execution of the Node.

a

Defined in the Data Type Attribute.

The dividend (number to be divided).

b

Defined in the Data Type Attribute.

The divisor (amount the dividend should be divided by).

Outputs

Output
Type
Description

Pulse Output (►)

Pulse

A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.

c

Defined in the Data Type Attribute.

The remainder of the division operation. (divisor - dividend * quotient).

External Links

on Kahn Academy.

on Kahn Academy.

Intro to remainders
What is modular arithmetic?