Help:Special property "Display precision of"

Jump to: navigation, search
Display precision of
Precision in digits
Further Information
Provided by: Semantic MediaWiki
Added: 2.4.0
Removed: still in use
Alias: has no alias
Optional: no
Visible: yes
Annotable: yes
Declarative: yes
Setting: not specified
Focus: not specified
In this wiki: Property:Display precision of

The Display precision of property is a special property in Semantic MediaWiki with a built-in meaning: it adds the possibility to specify a display precision for numeric datatypes (i.e. "Number", "Quantity" and "Temperature"). It was introduced starting with Semantic MediaWiki


[[Display precision of::3]]

This will set the display precision for the data values assigned to the respective property to three. Note that rounding applies, i.e. a data value of "123,4567" will be shown as "123,457".

Query printout precision

A printout precision denoted in an #ask query using -p<digit> will override a possible predetermined precision via the property page set by the "Display precision of" special property.2

 |?Has area
 |?Has area#-n-p2
 |?Has area#m²-p3

See also