Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

A Problem with Mathematica's Precision

  1. Oct 2, 2008 #1
    Hi all,

    Perhaps it is just me that is bugged by this, but I can never get the N function to work in Mathematica.

    For example, try doing:

    N[6.50889261991, 2]

    and you get:


    Which clearly isn't to 2 significant figures or decimal places...

    Does anyone know if there is something I am doing wrong with N?

  2. jcsd
  3. Oct 7, 2008 #2


    Staff: Mentor

    You can use 6.50889261991`2 to get it to 2 significant figures. Or alternatively you can use 6.5`2

    I don't know why N doesn't degrade the precision of the input, but I get the same result.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Similar Threads for Problem Mathematica's Precision Date
Mathematica Solve Perturbation problem with mathematica Dec 7, 2017
Mathematica For looping problem not getting answer May 24, 2017
Mathematica Graph Plotting Problem in Mathematica Nov 22, 2016
Mathematica Mathematica - Countour plot problem Jun 10, 2015
Mathematica Mathematica problem with plotting Apr 5, 2015