Difference between revisions of "INT"
From Macros Wiki
(New page: {{Command|syntax=INT <n> |description=*DESCRPTION* |param1=<n>|param1_desc={{n}} }} ===Example=== :- INT Category:Internal_Macro_Functions) |
|||
Line 1: | Line 1: | ||
{{Command|syntax=INT <n> | {{Command|syntax=INT <n> | ||
− | |description= | + | |description=:Returns the integer value of a number, to round [[rounding|see]] |
|param1=<n>|param1_desc={{n}} | |param1=<n>|param1_desc={{n}} | ||
Line 6: | Line 6: | ||
===Example=== | ===Example=== | ||
− | : | + | :INT(a1/14.1) |
[[Category:Internal_Macro_Functions]] | [[Category:Internal_Macro_Functions]] |
Revision as of 11:26, 22 July 2010
Command
- INT <n>
- Returns the integer value of a number, to round see
Parameters
- <n>
- Anything that evaluates to a number. This can be a variable, a number, another function, or an expression which includes numbers, variables and/or functions.
- For example:
- 123
- r1
- r2 + r3
- (r1 + (abs(a1 * a2) / (b3 * 62)))
Example
- INT(a1/14.1)