# printingPrecision -- current precision for printing numbers

## Synopsis

• Usage:
printingPrecision = n
• Inputs:
• Consequences:
• Henceforth, inexact numbers are printed with at most n digits of precision. Meaningless digits will not be displayed. The special case where n=0 is interpreted as meaning n=infinity, and this case is used when a number appears alone on an output line to display all the meaningful digits.

## Description

 i1 : 1/3p100 o1 = .333333333333333333333333333333 o1 : RR (of precision 100) i2 : {1/3p100} o2 = {.333333} o2 : List i3 : printingPrecision o3 = 6 i4 : printingPrecision = 16 o4 = 16 i5 : {1/3p100} o5 = {.3333333333333333} o5 : List i6 : printingPrecision = 0 o6 = 0 i7 : {1/3p100} o7 = {.333333333333333333333333333333} o7 : List

For complex numbers, if printingAccuracy is set to its default value of -1, the two parts of the number are treated together (although a digit further further to the right of the point may sometimes be displayed in the smaller part).

 i8 : printingAccuracy o8 = -1 i9 : printingPrecision = 16 o9 = 16 i10 : {1p100e12/3+1p100/3*ii} o10 = {333333333333.3333+.33333*ii} o10 : List i11 : printingAccuracy = 10 o11 = 10 i12 : {1p100e12/3+1p100/3*ii} o12 = {333333333333.3333+.3333333333*ii} o12 : List