Function: org-columns--summary-mean

org-columns--summary-mean is a byte-compiled function defined in org-colview.el.gz.

Signature

(org-columns--summary-mean VALUES PRINTF)

Documentation

Compute the mean of VALUES.

When PRINTF is non-nil, use it to format the result.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-colview.el.gz
(defun org-columns--summary-mean (values printf)
  "Compute the mean of VALUES.
When PRINTF is non-nil, use it to format the result."
  (format (or printf "%s")
	  (/ (apply #'+ (mapcar #'string-to-number values))
	     (float (length values)))))