Help:Average format

From semantic-mediawiki.org
Jump to: navigation, search
Average format
Displays the average of all queried numerical data
Available languages
deenzh-hans
Further Information
Provided by: Semantic Result Formats
Added: 1.4.2
Removed: still supported
Requirements: none
Format name: average
Enabled by default: 
Indicates whether the result format is enabled by default upon installation of the respective extension.
yes
Authors: Yaron Koren
Categories: math
Group:
Table of Contents

↓ INFO ↓

The result format average, part of the Semantic Result Formats extension, can be used to display the average of all numerical values in the result.

Parameters

Example

A query for this format could look like:

{{#ask: [[Category:City]]
| ?Population
| format=average
}}

Result: 3,128,553.2696471 (verify)


Other math formats:



This documentation page applies to all SMW versions from 1.4.2 to the most current version.
      Other languages: dezh-hans

Help:Average format en 1.4.2