mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Revert "Fix calculator division truncation (bug#40892)"
This reverts commit 82140c510c.
(Bug#40892)
This commit is contained in:
parent
82140c510c
commit
aea1b4db72
1 changed files with 1 additions and 1 deletions
|
|
@ -864,7 +864,7 @@ The result should not exceed the screen width."
|
|||
"\\.\\([^0-9].*\\)?$" ".0\\1" str))
|
||||
(str (replace-regexp-in-string
|
||||
"[eE][+-]?\\([^0-9].*\\)?$" "e0\\1" str)))
|
||||
(float (string-to-number str)))))
|
||||
(string-to-number str))))
|
||||
|
||||
(defun calculator-push-curnum ()
|
||||
"Push the numeric value of the displayed number to the stack."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue