MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Can you round number to the nearest x?


5 Round[n/5]

10 Round[n/10]

Rob Pratt
Department of Operations Research
The University of North Carolina at Chapel Hill

rpratt at email.unc.edu

http://www.unc.edu/~rpratt/

On Sat, 19 Aug 2000 owenzooey at my-deja.com wrote:

> Looking through the standard functions I cannot find a way to round a
> number to the nearest 5 or 10 or whatever.  Is there a somewhat simple
> way to do this before I do it the hard way?
> 
> Keith
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.
> 
> 



  • Prev by Date: Re: Differentiating Functions and Root objects [ was Re: ArcCos[]]
  • Next by Date: Re: Can you round number to the nearest x?
  • Previous by thread: Can you round number to the nearest x?
  • Next by thread: Re: Can you round number to the nearest x?