Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Number of digits

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73954] Re: Number of digits
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Sat, 3 Mar 2007 01:20:29 -0500 (EST)

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