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
Is optional: no
Label: 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

This documentation page applies to all SMW versions from 2.4.0 to the most current version.

Help:Special property Display precision of en 2.4.0