mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(math-use-emacs-fn): Make sure that the number is formatted correctly.
This commit is contained in:
parent
d07e72d3c8
commit
2e9b968b28
@ -1,3 +1,8 @@
|
||||
2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
|
||||
|
||||
* calc-math.el (math-use-emacs-fn): Make sure that the number is
|
||||
formatted correctly.
|
||||
|
||||
2009-07-02 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* info.el: Virtual Info files and nodes.
|
||||
|
@ -106,7 +106,11 @@ If this can't be done, return NIL."
|
||||
(number-to-string
|
||||
(funcall fn
|
||||
(string-to-number
|
||||
(let ((calc-number-radix 10))
|
||||
(let
|
||||
((calc-number-radix 10)
|
||||
(calc-float-format (list 'float calc-internal-prec))
|
||||
(calc-group-digits nil)
|
||||
(calc-point-char "."))
|
||||
(math-format-number (math-float x)))))))
|
||||
(error nil))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user