CTK Exchange
Front Page
Movie shortcuts
Personal info
Awards
Reciprocal links
Privacy Policy

Interactive Activities

Cut The Knot!
MSET99 Talk
Games & Puzzles
Arithmetic/Algebra
Geometry
Probability
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
My Logo
Math Poll
Other Math sit's
Guest book
News sit's

Manifesto: what CTK is about |Store| Search CTK Buying a book is a commitment to learning Table of content Things you can find on CTK Chronology of updates Email to Cut The Knot

CTK Exchange

Subject: "Rounding Rules"     Previous Topic | Next Topic
Printer-friendly copy     Email this topic to a friend    
Conferences The CTK Exchange This and that Topic #80
Reading Topic #80
Sandra Parsons (Guest)
guest
Jan-17-01, 10:23 AM (EST)
 
"Rounding Rules"
 
   How do you round a negative number, eg does -2.4 round up to -3.0 or -2.0 or is it just a round on the number not the sign? Is there a rule for this?


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
alexb
Charter Member
672 posts
Jan-17-01, 10:39 AM (EST)
Click to EMail alexb Click to send private message to alexb Click to view user profileClick to add this user to your buddy list  
1. "RE: Rounding Rules"
In response to message #0
 
   There are three distinct rounding methods:


  1. Rounding up
  2. Rounding down
  3. Rounding to the nearest something

In addition, in computer programming, the meaning of the above may very well depend on the manner in which numbers are stored in a particular computer memory. This is just to say that the answer to your question may not be unique and should not be treated as altogether trivial.

When you round up, you seek the nearest whole number greater than the given one: for 2.4 it's 3, for -2.4 it's -2.

When you round down, you seek the nearest whole number less than the given one: for 2.4 it's 2, for -2.4 it's -3.

When you round to the nearest whole number, you seek the whole number that is nearest to the given one: for 2.4 it's 2, for -2.4 it's -2.

With the rounding to the nearest whole number, numbers that are the sum (whole number + half) pose a peculiar problem. By convention, if (whole number) is even the (half) is dropped. Otherwise, the (whole number) is increased by 1 if the number is positive and decreased by 1 if it's negative. For example, rounding 2.5 gives 2, rounding 3.5 gives 4, rounding -2.5 gives -2, rounding -3.5 gives -4.

All the best,
Alexander Bogomolny


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top

Conferences | Forums | Topics | Previous Topic | Next Topic

You may be curious to visit the old CTK Exchange archive.

|Front page| |Contents|

Copyright © 1996-2018 Alexander Bogomolny

[an error occurred while processing this directive]
 Advertise

New Books
Second editions of J. Conway's classic On Numbers And Games and the inimitable Winning Ways for Your Mathematical Plays