is there a simple calculation to round a number up to the next integer?  I understand how to round but i am looking for the actual calculation please
in Word Problem Answers by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

Yes, there is if you are allowed to have an integer function,  [x], which means the integer part of x.

The general formula for rounding to n places is r(x)=[10ⁿx+0.5]/10ⁿ where r is the rounding function.

When n=0 there are no decimal places and the rounding is to the nearest integer, r(x)=[x+0.5].

When n is negative it refers to the nearest ten, hundred and so on.

EXAMPLES

n=0, x=14.4; r(14.4)=[14.9]=14.

n=0, x=14.5; r(14.5)=[15.0]=15.

n=1, x=2.58; r(2.58)=[25.8+0.5]/10=[26.3]/10=26/10=2.6.

n=-2 (round to the nearest hundred), x=4321;

r(4321)=[43.21+0.5]×100=[43.71]×100=43×100=4300 because 1/10⁻²=10²=100, so dividing by 10⁻² is the same as multiplying by 10²:

n=-2, x=9876; r(9876)=[98.76+0.5]×100=[99.26]×100=9900.

by Top Rated User (1.2m points)

Related questions

1 answer
asked Nov 2, 2012 in Word Problem Answers by anonymous | 1.9k views
1 answer
asked Sep 4, 2013 in Other Math Topics by anonymous | 558 views
2 answers
asked Mar 23, 2013 in Word Problem Answers by anonymous | 921 views
1 answer
1 answer
1 answer
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!
87,516 questions
100,279 answers
2,420 comments
732,225 users