Message Boards Message Boards

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

Set the number of digits after decimal in outputs?

Posted 4 years ago

How to fix (default for all) the number of digits after decimal in the output of Mathematica? For example, I have the following output and I want only 5 or 6 digits after the decimal. I want to do it as my preference for all outputs in Mathematica. I want it by default it should come like this.

{{2, 2.341271914372152127214798778270951874161575229691752348511256947\ 103234637070141238111248602841799015*10^-6}, {4, 1.246871948912062019318774781765079404415702566152549074193749701941\ 014256998554534764382274814362988*10^-8}, {6, 2.759854992765941135696751769785073412950261013110494361820015458578\ 057184089454471582295236131574336*10^-9}, {8, 2.443601353290791657699848948245011338120895586638303809633401213029\ 995782406510088600229863231598219*10^-10}, {10, 1.552374979560644830559457276400940208628735875450622280707186352447\ 049593405944355849017197981347493*10^-11}}}

POSTED BY: Purnima singh
3 Replies

It seems to be a bug in the Wolfram site. Try this version: Output Formats for Numbers

POSTED BY: Gianluca Gorni

Dear Gianluca,

Sorry, link is broken !

Regards,...Jos

POSTED BY: Jos Klaps

There is a tutorial for this kind of task: Output Formats for Numbers

POSTED BY: Gianluca Gorni
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