Microsoft KB Archive/35844

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:21, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q35844 to Microsoft KB Archive/35844 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Macro INT Function

PSS ID Number: Q35844 Article last modified on 11-02-1994

5.00 5.50 6.00

MS-DOS

SUMMARY

The INT function will truncate numbers to the next smallest integer. The following are examples:

INT(12.6)= 12 INT(-3.7)= -4

INT(expression) – The expression can be a positive or negative number, a numeric variable, a function that yields a number, or a math expression.

Rounding to the nearest integer can be done with INT(X+0.5).

KBCategory: kbother kbmacro KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.