Can you please neatly explain why the following two commands give different outputs?
N[1/3, 2] 0.33 N[1./3., 2] 0.333333
Thank you!
Kuba, Sander, Murray, thank you for your responses. Please browse the attached file. I understand that using "Round" is the correct solution. Best!
Or perhaps:
NumberForm[1./3., 2] (* 0.33 *)
N ref page 3rd example's note:
N
With machine-precision input, the results are always machine precision
Workaround:
N[1/3. // Rationalize, 2] (* 0.33 *)