imod

Help Contents logo Definitions of LOGO operators Integer arithmetic operators imod
idiv Logical operators

math.imod :y


Definition:

to :x math.imod :y 
	output :x - :y * (trunc (:x / :y)) 
end

make "math.imod.onpriority 30

Examples:
References:

idiv Logical operators