Commit 2e9b968b authored by Jay Belanger's avatar Jay Belanger

(math-use-emacs-fn): Make sure that the number is formatted correctly.

parent d07e72d3
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))))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment