{{tag>Function Function_List Mathematical}} ====== MOD ====== ===== Description ===== Calculates the remainder of the first number divided by the second one ===== Syntax ===== ''MOD (number, divisor)'' Can be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== Two attributes of the Number type or number constants or calculations producing number ===== Returns ===== **Number**: the remainder of the first number divided by the second. ===== Example ===== IF MOD (Account.Balance, Transaction.Amount) = 10 THEN ... ===== Related ===== [[ref:a_f:f:af:floor|FLOOR]], [[ref:a_f:f:af:round|ROUND]], [[ref:a_f:f:af:abs|ABS]]