Wolfram Computation Meets Knowledge

How do I display more digits of numeric results?

Standard decimal numbers in the Wolfram Language are internally represented with machine precision*:

In[1]:= $MachinePrecision
Out[1]= 15.9546

The InputForm of a given number displays all available digits:

In[2]:= InputForm[200./7]
Out[2]//InputForm= 28.57142857142857 

Yet by default, only six digits of such machine-precision numbers are shown:

In[3]:= 200./7
Out[3]= 28.5714 

More digits can be displayed either for an individual number or all machine-precision numbers.

Individual Number

NumberForm displays the desired number of digits of a particular number:

In[4]:= NumberForm[200./7, 12]
Out[4]//NumberForm= 28.5714285714 

NumberForm cannot return more digits than the number has:

In[5]:= NumberForm[200./7, 24]
Out[5]//NumberForm= 28.57142857142857 

All Numbers

  1. Navigate to the menu item Edit ▶ Preferences on Windows or Mathematica ▶ Preferences on Mac.
  2. Select the tab Appearance ▶ Numbers ▶ Formatting.
  3. In the line “Number of digits displayed in output”, set the preferred precision.


* It is of noninteger value since the precision of a number is defined in terms of the logarithm of the uncertainty in the corresponding exact value.

설명이 도움이 되었나요?
아니오

하실 말씀이 있습니까?

피드백 감사합니다.

제출하기

지원 문의

청구서, 제품 동기화에 관한 질문에서 기술적인 질문까지 부담없이 문의하세요.

1-800-WOLFRAM (국제 전화는 +1-217-398-0700)

고객 지원

월요일 - 금요일
8am–5pm 중부 표준시

  • 제품 등록 및 동기화
  • 구매 전 정보 및 주문
  • 설치 및 동작

고급 기술지원 (해당 고객을 대상으로)

월요일 - 목요일
8am–7pm 중부 표준시

금요일
8:30–10am & 11am–5pm 중부 표준시

  • 우선적 기술지원
  • Wolfram 전문가들의 제품 지원
  • Wolfram 프로그래밍
  • 고급 설치 지원