{{tag>Function Function_List Mathematical}} ====== NEG ====== ===== Description ===== Returns the provided number negated ===== Syntax ===== ''NEG (number)'' Can be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== Attribute of the Number type or number constant or calculation producing number ===== Returns ===== **Number**: the number negated. ===== Example ===== IF NEG (Transaction.Amount) = -10 THEN ... ===== Related ===== [[ref:a_f:f:af:abs|ABS]], [[ref:a_f:f:af:sign|SIGN]]