a mod b

Operand types

a: Number
b: Number

Type of returned value

Description

Remainder of a divided by b.
Note: Remainder is calculated in real domain.

Used In

OFP/ArmA

Example

_rem = 3 mod 2

Result is 1
Search OFPEC COMREF