(math-use-emacs-fn): Make sure that the number is formatted correctly.
This commit is contained in:
parent
d07e72d3c8
commit
2e9b968b28
2 changed files with 10 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue