Mod

Returns a quotient and a remainder of division of divident by divisor.

Mod in Lightact's Layer Layouts visual scripting system.
Screenshot of Mod node.

Inputs

TypeNameDescription
IntStores whole number value
InputAn integer value
IntStores whole number value
DivisorAn integer value

Outputs

TypeNameDescription
IntStores whole number value
QuotientReturns an integer value
IntStores whole number value
ReminderReturns an integer value