{{tag>Function Function_List Mathematical}} ====== SIGN ====== ===== Description ===== Returns the sign of the provided number (0, 1 or –1) ===== Syntax ===== ''SIGN (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 sign of the number: 0, 1 or -1. ===== Example ===== IF SIGN (Transaction.Amount) = -1 THEN ... ===== Related ===== [[ref:a_f:f:af:abs|ABS]], [[ref:a_f:f:af:neg|NEG]]