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 FMT)

Documentation

Compute the mean of VALUES.

When FMT 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 fmt)
  "Compute the mean of VALUES.
When FMT is non-nil, use it to format the result."
  (format (or fmt "%s")
	  (/ (apply #'+ (mapcar #'string-to-number values))
	     (float (length values)))))