Macaulay2 » Documentation
Packages » Macaulay2Doc » matrices » format and display of matrices in Macaulay2 » printingTrailLimit
next | previous | forward | backward | up | index | toc

# printingTrailLimit -- maximum number of additional trailing digits to use when printing real numbers

- Usage:
    `printingTrailLimit = n`
- Inputs:
  - n, an integer
- Consequences:
  - Real numbers are printed with at most n additional trailing digits, in addition to those specified by printingPrecision.

## Description

    i1 : 3000000000000.

    o1 = 3e12

    o1 : RR (of precision 53)

    i2 : printingTrailLimit

    o2 = 5

    i3 : printingTrailLimit = 20

    o3 = 20

    i4 : 3000000000000.

    o4 = 3000000000000

    o4 : RR (of precision 53)

## See also

- printingPrecision -- current precision for printing numbers
- printingAccuracy -- current accuracy for printing numbers
- printingLeadLimit -- maximum number of leading zeroes to use when printing real numbers
- printingSeparator -- string used to separate mantissa from exponent when printing real numbers
- format -- format a string or real number

## For the programmer

The object printingTrailLimit is an integer.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Macaulay2Doc/doc3.m2:202:0.