Function: math-remove-units

math-remove-units is an autoloaded and byte-compiled function defined in calc-units.el.gz.

Signature

(math-remove-units EXPR)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-units.el.gz
(defun math-remove-units (expr)
  (if (math-check-unit-name expr)
      1
    (if (Math-primp expr)
	expr
      (cons (car expr)
	    (mapcar #'math-remove-units (cdr expr))))))