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

# printingSeparator -- string used to separate mantissa from exponent when printing real numbers

- Usage:
    `printingSeparator = s`
- Inputs:
  - s, a string
- Consequences:
  - The string s will be used to separate mantissa and exponent when printing real numbers.

## Description

    i1 : 3000000000000.

    o1 = 3e12

    o1 : RR (of precision 53)

    i2 : printingSeparator

    o2 = e

    i3 : printingSeparator = "E"

    o3 = E

    i4 : 3000000000000.

    o4 = 3E12

    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
- printingTrailLimit -- maximum number of additional trailing digits to use when printing real numbers
- format -- format a string or real number

## For the programmer

The object printingSeparator is a string.

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