Help

Table Of Contents
FILEMAKER PRO HELP 864
Related topics
About functions
About formulas
Abs
Purpose
Returns the absolute value of number.
Format
Abs(number)
Parameters
number - any numeric expression or field containing a numeric expression
Data type returned
number, time
Originated in
FileMaker Pro 6.0 or earlier
Description
The absolute value of a number is positive. For example, if a negative number appears in a field, the
Abs function removes the minus sign and changes it to a positive value.
Examples
Abs(-123) returns 123.
Abs(PriceDifference) returns the positive value of the number in the PriceDifference field.
Abs(TargetDate - ActualDate) returns a positive value for the number of days difference
between the values in TargetDate and ActualDate.
Mod The remainder after a specified number is divided by divisor.
Random A random number between zero and one.
Round A number rounded off to the specified precision (number of decimal places).
SetPrecision Any math functions contained within the specified expression to the specified
digits of precision, if the math function supports extended precision.
Sign One of three possible values: -1 when the specified number is negative, 0 when
it's zero, and 1 when it's positive.
Sqrt The square root of a number.
Truncate A number truncated to the specified precision (number of decimal places), without
evaluating the value of the discarded digits.
This function Returns