Warning: file_put_contents(/ff_87618456616a9ccc7a19e4ab141fb2caa7b2dda7fd9b6b07.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
mod - OFPEC Scripting Command Reference | OFPEC The Editing Center

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

Advertisement