MathGroup Archive 2007

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

Search the Archive

Re: Number of digits


On 3/2/07 at 6:24 AM, robert.pigeon at videotron.ca (Robert Pigeon)
wrote:

>Good afternoon, How can I force Mathematica to output an answer with
>a certain number of significant digits ? What I mean is I want the
>answer of, let say, 1.0 / 3 to be output in Mathematica as 0.33 for
>example.

Use NumberForm, i.e.,

NumberForm[1.0/3,2]

will output 0.33
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Problems with simplify and Sqrt[a^2]
  • Next by Date: Re: Means
  • Previous by thread: Number of digits
  • Next by thread: Re: Number of digits