Note: This is a work in progress and will be formatting errors. Read more about the project on the home page. trunc
Value returned: an integer equal to the integer part of number . Any fractional part is disregarded, regardless of the number’s sign. Note: trunc returns correct values only for real numbers in the range 2,147,483,648 through 2,147,483,647 (the maximum long integer value). PlaceholdersnumberAn expression that evaluates to a number. For example:
Note: Formally, HyperCard distinguishes between factors (simple values) and expressions. The difference between factors and expression matters only if you like to drop parentheses. Most functions take factors as their parameters, which is why abs of 10 + 2 returns 12 and abs of (10 + 2) returns 8 . In short, always use parentheses to group things the way you want them to evaluate, and you won’t have to worry about the difference between factors and expressions. Related Topics

Version 0.7b1 (March 24, 2022)
Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
the trunc of number
Value returned: an integer equal to the integer part of number
. Any fractional part is disregarded, regardless of the number’s sign. trunc
returns correct values only for real numbers in the range 2,147,483,648 through 2,147,483,647 (the maximum long integer value). 169 / 19
pi
(60.625 * 500)
average(1,4,5,10)
i+1  (where i is a number)
line 1 of fld "Debits"
abs of 10 + 2
returns 12
and abs of (10 + 2)
returns 8
. In short, always use parentheses to group things the way you want them to evaluate, and you won’t have to worry about the difference between factors and expressions.
Version 0.7b1 (March 24, 2022)