Variable: calc-float-format

calc-float-format is a variable defined in calc.el.gz.

Value

(float 0)

Documentation

Format to use for display of floating-point numbers in calc-mode.

Must be a list of one of the following forms:
 (float 0) Floating point format, display full precision.
 (float N) N > 0: Floating point format, at most N significant figures.
 (float -N) -N < 0: Floating point format, calc-internal-prec - N figs.
 (fix N) N >= 0: Fixed point format, N places after decimal point.
 (sci 0) Scientific notation, full precision.
 (sci N) N > 0: Scientific notation, N significant figures.
 (sci -N) -N < 0: Scientific notation, calc-internal-prec - N figs.
 (eng 0) Engineering notation, full precision.
 (eng N) N > 0: Engineering notation, N significant figures.
 (eng -N) -N < 0: Engineering notation, calc-internal-prec - N figs.

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc.el.gz
(defcalcmodevar calc-float-format '(float 0)
  "Format to use for display of floating-point numbers in calc-mode.
Must be a list of one of the following forms:
 (float 0)      Floating point format, display full precision.
 (float N)      N > 0: Floating point format, at most N significant figures.
 (float -N)     -N < 0: Floating point format, calc-internal-prec - N figs.
 (fix N)        N >= 0: Fixed point format, N places after decimal point.
 (sci 0)        Scientific notation, full precision.
 (sci N)        N > 0: Scientific notation, N significant figures.
 (sci -N)       -N < 0: Scientific notation, calc-internal-prec - N figs.
 (eng 0)        Engineering notation, full precision.
 (eng N)        N > 0: Engineering notation, N significant figures.
 (eng -N)       -N < 0: Engineering notation, calc-internal-prec - N figs.")