Message Boards Message Boards

0
|
7264 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Mathematica cuts off data

Posted 10 years ago

Hey folks,

can someone explain me why this happens, and how I can work around it?

a = 1322.93403948
(* 1322.93 *)
POSTED BY: d n
3 Replies

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)

POSTED BY: David Reiss
Posted 10 years ago

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?

POSTED BY: d n

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.

POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract