Mercurial > emacs
changeset 102173:37b577ed82cd
(math-use-emacs-fn): Make sure that the lisp number is in decimal.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Sat, 21 Feb 2009 19:18:20 +0000 |
parents | a23f964bc701 |
children | 9c1773a3c7a6 |
files | lisp/calc/calc-math.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calc/calc-math.el Sat Feb 21 18:52:19 2009 +0000 +++ b/lisp/calc/calc-math.el Sat Feb 21 19:18:20 2009 +0000 @@ -105,7 +105,9 @@ (math-read-number (number-to-string (funcall fn - (string-to-number (math-format-number (math-float x)))))) + (string-to-number + (let ((calc-number-radix 10)) + (math-format-number (math-float x))))))) (error nil)))))) (defun calc-sqrt (arg)