By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 1,077 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

What's the next higher whole number to .888?

P: 1
Doing my taxes. When I divide $2220.00 by$2,500.00 you get .888 what is the next higher whole number, I need to know to complete worksheet
Feb 23 '18 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 2,396
First you need to decide which rounding rule is most appropriate for your application: round-down, round-up, round-to-nearest, round-to-zero, or round-away-from-zero. The first step in programming is to clearly understand the requirements.
  • Should 0.888 round to 1 or 0?
  • Should -0.888 round to -1 or 0?
  • Should 0.2 round to 0 or 1?
  • Should -0.2 round to -1 or 1?
  • What should 0.5 and -0.5 round to?

What language are you using? This is a C/C++ forum, but you said worksheet (which hints at Excel).
Feb 23 '18 #2

Post your reply

Sign in to post your reply or Sign up for a free account.