Filemaker Pro 8.5 Advanced Maintenance TG761Z/A User Manual

Product codes
TG761Z/A
Page of 238
Chapter 9
  
|
  Number functions     153
Sqrt
Format
Sqrt(number)
Parameter
, or 
expression.
Data type returned
number
Description
Calculates the square root of number.
Examples
Sqrt(4) returns 
2
.
Sqrt(SquareFeet) returns 
6
 if the SquareFeet number field contains 
36
.
Truncate
Format
Truncate(number;precision)
Parameters
 or 
precision - any numeric expression or field containing a numeric expression
Data type returned
number
Description
Returns number truncated to the specified precision (number of decimal places), 
without evaluating the value of discarded digits. Use the Round function to round up or 
down to the required precision.
Examples
Truncate(123.456;2) returns 
123.45
.
Truncate(-14.6;0) returns 
-14
.
Sqrt
number
=