XL: Undocumented ROUNDUP() and ROUNDDOWN() FunctionsLast reviewed: February 2, 1998Article ID: Q105955 |
The information in this article applies to:
SUMMARYThe ROUNDUP() and ROUNDDOWN() functions, available in Microsoft Excel versions 4.0 and later, are not documented in the "Function Reference" version 4.0. These functions are similar to the CEILING() and FLOOR() functions.
MORE INFORMATION
ROUNDUP()The Roundup function rounds a number up, away from zero. Syntax:
ROUNDUP(number, num_digits)Number is any real number that you want rounded up. Num_digits is the number of digits to which you want to round the number. ROUNDUP() behaves similarly to the ROUND() function, except that it always rounds a number up based on the following rules:
ROUNDUP(3.2,0) equals 4 ROUNDUP(76.9,0) equals 77 ROUNDUP(3.14159, 3) equals 3.142 ROUNDUP(-3.14159, 1) equals -3.2 ROUNDUP(31415.926, -2) equals 31500 ROUNDDOWN()Rounds a number down, toward zero. Syntax:
ROUNDDOWN(number, num_digits)Number: any real number that you want rounded down. Num_digits: the number of digits to which you want to round number. ROUNDDOWN() behaves similarly to the ROUND() function, except that it always rounds a number down based on the following rules:
ROUNDDOWN(3.2, 0) equals 3 ROUNDDOWN(76.9,0) equals 76 ROUNDDOWN(3.14159, 3) equals 3.141 ROUNDDOWN(-3.14159, 1) equals -3.1 ROUNDDOWN(31415.92654, -2) equals 31400 |
Additional query words: round 4.00 4.00a 5.00 5.00a 5.00c 7.00 7.00a 97 98
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |