Skip to contents

Return the same as a % b with b instead of 0.

Usage

amod(x, y)

Arguments

x

an integer

y

an integer

Value

an integer

Examples

if (FALSE) {
amod(8, 4)
}