The
SQRT function returns the square root of a decimal number to the
specified precision. The number for which the square root is
found is evaluated as a decimal number, though whole integral values
can be provided. The precision of the result is specified by an
integral number.
Parameters
@SQRT (Decimal,
Precision)- Decimal Required decimal number parameter; contains the value for which
the square root will be found.
- Precision Required integral number parameter; contains the value specifying
the precision to which the square root value will be calculated.
The function will round the result to this precision. If a property
is specified for the Decimal argument, the definition
of that property’s rounding behavior will be applied. A Precision value
of 0 indicates no digits after the decimal, and a negative value
indicates digits before the decimal.