{{tag>Function Function_List Mathematical}} ====== ROUND ====== ===== Description ===== Returns the first number rounded to the precision of the second number. For example, * ROUND (6.738, 1) = 6.7; * ROUND (6.738, 2) = 6.74 ===== Syntax ===== ''ROUND (number, precision)'' 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 first number rounded to the number of decimal places given by the second. ===== Example ===== IF ROUND (Transaction.Amount, 1) = 10.3 THEN ... ===== Related ===== [[ref:a_f:f:af:floor|FLOOR]], [[ref:a_f:f:af:ceiling|CEILING]], [[ref:a_f:f:af:nformat|NFORMAT]]