diff options
| -rw-r--r-- | lisp/calc/calc-units.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/calc/calc-units.el b/lisp/calc/calc-units.el index f022f4f472b..7f0adc9fe7e 100644 --- a/lisp/calc/calc-units.el +++ b/lisp/calc/calc-units.el | |||
| @@ -1869,7 +1869,8 @@ In symbolic mode, return the list (^ a b)." | |||
| 1869 | (let* ((n (math-round num)) | 1869 | (let* ((n (math-round num)) |
| 1870 | (diff (math-abs | 1870 | (diff (math-abs |
| 1871 | (math-sub num n)))) | 1871 | (math-sub num n)))) |
| 1872 | (if (< (math-compare diff (math-read-expr calc-note-threshold)) 0) | 1872 | (if (< (math-compare diff |
| 1873 | (math-div (math-read-expr calc-note-threshold) 100)) 0) | ||
| 1873 | n | 1874 | n |
| 1874 | num))) | 1875 | num))) |
| 1875 | 1876 | ||