Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to SRFParserFunctions::registerFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to scqgRegisterParser() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to SDParserFunctions::registerFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to SFParserFunctions::registerFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to ExtArrays::init() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to edgRegisterParser() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to PageSchemasHooks::register() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to widgetParserFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to ImageMap::onParserFirstCallInit() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to InputBoxHooks::register() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to Poem::init() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to SMW\MediaWiki\Hooks\HookRegistry::SMW\MediaWiki\Hooks\{closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to SMW\Setup::SMW\{closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to MapsHooks::onParserClearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to ExtArrays::onParserClearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to Cite::clearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Feed.php on line 234

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37
http://shdenham.co.uk/mw/index.php?action=history&feed=atom&title=Type%3ANumber Type:Number - Revision history 2024-11-08T20:58:26Z Revision history for this page on the wiki MediaWiki 1.26.2 http://shdenham.co.uk/mw/index.php?title=Type:Number&diff=7689&oldid=prev Simon at 22:03, 23 May 2011 2011-05-23T22:03:35Z <p></p> <table class='diff diff-contentalign-left'> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr style='vertical-align: top;' lang='en'> <td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 22:03, 23 May 2011</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l5" >Line 5:</td> <td colspan="2" class="diff-lineno">Line 5:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Numbers in other languages ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Numbers in other languages ==</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Numbers are written differently in different languages, and some of these differences are taken into account by <del class="diffchange diffchange-inline">[[</del>SMW<del class="diffchange diffchange-inline">]]</del>. In particular, there is no global consensus on how to write the decimal separator (&quot;.&quot; in English) and the thousands separators (&quot;,&quot; in English). When using <del class="diffchange diffchange-inline">[[</del>SMW<del class="diffchange diffchange-inline">]] </del>in a wiki that does not use English as a content language, the format for numbers might change according to the local customs. For example, German numbers use &quot;,&quot; as a decimal separator and &quot;.&quot; as a thousands separator, so German &quot;1,234&quot; is the same as English &quot;1.234&quot; not &quot;1234&quot;.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Numbers are written differently in different languages, and some of these differences are taken into account by SMW. In particular, there is no global consensus on how to write the decimal separator (&quot;.&quot; in English) and the thousands separators (&quot;,&quot; in English). When using SMW in a wiki that does not use English as a content language, the format for numbers might change according to the local customs. For example, German numbers use &quot;,&quot; as a decimal separator and &quot;.&quot; as a thousands separator, so German &quot;1,234&quot; is the same as English &quot;1.234&quot; not &quot;1234&quot;.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>To find out&#160; about (and possibly change) the separators used in your language, see the messages [[MediaWiki:smw_decseparator]] and [[MediaWiki:smw_kiloseparator]]. Note that the thousands (kilo) separator is optional, and is used only for formatting in some languages where it is not needed for the input.&#160; For example, French numbers group thousands with spaces, which is allowed anyway, and thus their thousands separator is a non-breakable space even though this will rarely be typed by users when writing numbers.</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>To find out&#160; about (and possibly change) the separators used in your language, see the messages [[MediaWiki:smw_decseparator]] and [[MediaWiki:smw_kiloseparator]]. Note that the thousands (kilo) separator is optional, and is used only for formatting in some languages where it is not needed for the input.&#160; For example, French numbers group thousands with spaces, which is allowed anyway, and thus their thousands separator is a non-breakable space even though this will rarely be typed by users when writing numbers.</div></td></tr> <tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l12" >Line 12:</td> <td colspan="2" class="diff-lineno">Line 12:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Type:Number is a universal replacement for the separate datatypes and Float and Integer used in early versions of Semantic MediaWiki. Integer and Float are aliases for Type:Number since SMW 1.0.</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Type:Number is a universal replacement for the separate datatypes and Float and Integer used in early versions of Semantic MediaWiki. Integer and Float are aliases for Type:Number since SMW 1.0.</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">{{docu|master page=Type:Number|language=en|minversion=1.0}}</del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[[Category:Semantic MediaWiki documentation]]</del></div></td><td colspan="2">&#160;</td></tr> </table> Simon http://shdenham.co.uk/mw/index.php?title=Type:Number&diff=1027&oldid=prev Simon: Created page with 'The datatype '''number''' is used for properties that contain any kind of number, integer, decimal, and floating point numbers. It can be positive o…' 2010-05-27T17:58:22Z <p>Created page with &#039;The <a href="/wiki/Help:Properties_and_types" title="Help:Properties and types">datatype</a> &#039;&#039;&#039;number&#039;&#039;&#039; is used for properties that contain any kind of number, integer, decimal, and floating point numbers. It can be positive o…&#039;</p> <p><b>New page</b></p><div>The [[Help:Properties and types|datatype]] '''number''' is used for properties that contain any kind of number, integer, decimal, and floating point numbers. It can be positive or negative, with thousand separators, and it can have an optional exponent. For example, &lt;tt&gt;42&lt;/tt&gt;, &lt;tt&gt;-273.15&lt;/tt&gt;, and &lt;tt&gt;4,297.31 e7&lt;/tt&gt; are valid numbers.<br /> <br /> It is possible to use units of measurement with number values. They can be specified as arbitrary non-numerical strings after the number. Though Type:Number does not understand units (i.e. it performs no automatic conversion), a unit can be used to distinguish property values with different units to avoid accidental comparison of quantities that have been given in different units. It is also possible to create a datatype that is aware of units; see [[Help:Custom units|Custom units]].<br /> <br /> == Numbers in other languages ==<br /> <br /> Numbers are written differently in different languages, and some of these differences are taken into account by [[SMW]]. In particular, there is no global consensus on how to write the decimal separator (&quot;.&quot; in English) and the thousands separators (&quot;,&quot; in English). When using [[SMW]] in a wiki that does not use English as a content language, the format for numbers might change according to the local customs. For example, German numbers use &quot;,&quot; as a decimal separator and &quot;.&quot; as a thousands separator, so German &quot;1,234&quot; is the same as English &quot;1.234&quot; not &quot;1234&quot;.<br /> <br /> To find out about (and possibly change) the separators used in your language, see the messages [[MediaWiki:smw_decseparator]] and [[MediaWiki:smw_kiloseparator]]. Note that the thousands (kilo) separator is optional, and is used only for formatting in some languages where it is not needed for the input. For example, French numbers group thousands with spaces, which is allowed anyway, and thus their thousands separator is a non-breakable space even though this will rarely be typed by users when writing numbers.<br /> <br /> == Types Float and Integer ==<br /> <br /> Type:Number is a universal replacement for the separate datatypes and Float and Integer used in early versions of Semantic MediaWiki. Integer and Float are aliases for Type:Number since SMW 1.0.<br /> <br /> <br /> {{docu|master page=Type:Number|language=en|minversion=1.0}}<br /> <br /> [[Category:Semantic MediaWiki documentation]]</div> Simon