diff lisp/calc/calc-math.el @ 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 a9dc0e7c3f2b
children 89a7d79690f9
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)