1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-18 03:40:47 -08:00
emacs/lisp/calc
Mattias Engdegård 7133a67dcd Calc: control digits after decimal point (bug#47302)
Calc normally displays a trailing decimal point for floats with no
fractional part, like '12.'. Some uses require at least one digit
after the point; add the governing variable calc-digit-after-point.

* lisp/calc/calc.el (calc-digit-after-point): New variable.
(math-format-number): Use it.
* test/lisp/calc/calc-tests.el (calc-display-digit-after-point):
New test.
2021-04-27 18:10:01 +02:00
..
calc-aent.el
calc-alg.el Remove redundant #' before lambda in calc/*.el 2021-04-05 17:28:05 +02:00
calc-arith.el
calc-bin.el
calc-comb.el
calc-cplx.el
calc-embed.el Prefer setq-local in a few more places 2021-02-08 00:25:16 +01:00
calc-ext.el Remove redundant #' before lambda in calc/*.el 2021-04-05 17:28:05 +02:00
calc-fin.el
calc-forms.el
calc-frac.el
calc-funcs.el
calc-graph.el Fix setting of line/point style in calc gnuplot 2021-01-27 04:27:42 +01:00
calc-help.el
calc-incom.el
calc-keypd.el
calc-lang.el Parse square root sign in embedded Calc mode 2021-01-19 16:11:51 +01:00
calc-macs.el
calc-map.el
calc-math.el
calc-menu.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
calc-misc.el
calc-mode.el
calc-mtx.el
calc-nlfit.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
calc-poly.el
calc-prog.el Remove redundant #' before lambda in calc/*.el 2021-04-05 17:28:05 +02:00
calc-rewr.el
calc-rules.el
calc-sel.el * lisp/calc/calc-sel.el (calc-replace-sub-formula): Fix typo 2021-02-15 10:57:26 -05:00
calc-stat.el
calc-store.el
calc-stuff.el
calc-trail.el
calc-undo.el
calc-units.el
calc-vec.el
calc-yank.el * lisp: Remove yet more always-nil variables 2021-03-11 13:29:14 -05:00
calc.el Calc: control digits after decimal point (bug#47302) 2021-04-27 18:10:01 +02:00
calcalg2.el Prefer setq-local in a few more places 2021-02-08 00:25:16 +01:00
calcalg3.el
calccomp.el Calc: use big brackets around function arguments 2021-01-22 15:49:50 +01:00
calcsel2.el