{{tag>Function Function_List Mathematical}} ====== MIN2 ====== ===== Description ===== Calculates the minimum of the two provided numbers ===== Syntax ===== ''MIN2 (number1, number2)'' 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 smaller of the two numbers. ===== Example ===== IF MIN2 (Transaction.Amount, Account.Balance) = 100 THEN ... ===== Related ===== [[ref:a_f:f:af:max2|MAX2]], [[ref:a_f:f:af:abs|ABS]], [[ref:a_f:f:af:floor|FLOOR]]