Hey folks,
can someone explain me why this happens, and how I can work around it?
a = 1322.93403948
(* 1322.93 *)
Hey folks,
can someone explain me why this happens, and how I can work around it?
a = 1322.93403948
(* 1322.93 *)
The full number is still saved in your variable. The default setting for the output foreign is to only display a fixed number of digits of the expression.
If you execute
InputForm[a]
You will see that your original expression is still there.
Ah I think I got it. It looks like Mathematica is set up to use 6 counting digits. But if I wanted to use more, is there a way to change it?
Right, but note that it is displaying a truncated form of the number in the output cell: all digits are still there.
To adjust how much you want displayed go to the Preferences. Under the Appearance tab go to the Numbers tab, and under that go to theFormatting tab. You can adjust the Displayed Precision in the indicated input field (it is set at default to 6)