Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

UniWiki:Manual of Style/Dates and numbers: Difference between revisions

From EVE University Wiki
Djavin novienta (talk | contribs)
Djavin novienta (talk | contribs)
Line 281: Line 281:
====Grouping of digits====
====Grouping of digits====


* Digits should be grouped and separated either by commas or narrow gaps ({{em|never}} a period/full point).
* Digits should be grouped and separated by commas, ({{em|never}} a period/full point).
:; Grouping with commas
:; Grouping with commas
:* Left of the decimal point, five or more digits are grouped into threes separated by commas (e.g.  {{xt|12,200}},  {{xt|255,200 km}},  {{xt|8,274,527th}},  {{xt|{{frac|86,400}}}}).
:* Left of the decimal point, five or more digits are grouped into threes separated by commas (e.g. &nbsp;{{xt|12,200}}, &nbsp;{{xt|255,200&nbsp;km}}, &nbsp;{{xt|8,274,527th}}, &nbsp;{{xt|<sup>1</sup>&frasl;<sub>86,400</sub>}}).
:* Numbers with exactly four digits left of the decimal point may optionally be grouped (either &nbsp;{{xt|1,250}} &nbsp;or &nbsp;{{xt|1250}}), provided that this is consistent within each article.
:* Numbers with exactly four digits left of the decimal point may optionally be grouped (either &nbsp;{{xt|1,250}} &nbsp;or &nbsp;{{xt|1250}}), provided that this is consistent within each article.
:* When commas are used left of the decimal point, digits right of the decimal point are not grouped (i.e. should be given as an unbroken string).
:* When commas are used left of the decimal point, digits right of the decimal point are not grouped (i.e. should be given as an unbroken string).
:* Markup: {{tlc|[[Help:Parser functions|formatnum:]]}} produces this formatting.
:; Grouping with narrow gaps
:* Digits are grouped both sides of the decimal point (e.g. &nbsp;{{xt|{{val|6543210.123456}}}}, &nbsp;{{xt|{{val|520.01234|u=degC}}}}, &nbsp;{{xt|{{sfrac|{{val|101325}}|760}}}}).
:* Digits are generally grouped into threes. Right of the decimal point, {{em|usual}} practice is to have a final group of four instead of a lone digit (e.g. &nbsp;{{xt|{{val|99.1234567}}}} &nbsp;or &nbsp;{{xt|{{gaps|99.123|456|7}}}}). In mathematics-oriented articles long strings may be grouped into fives (e.g. &nbsp;{{xt|{{gaps|3.14159|26535|89793|23846|...}}}}).
:* This style is especially recommended for articles related to science, technology, engineering or mathematics.
:* Markup: Templates {{tlx|val}} or {{tlx|gaps}} may be used to produce this formatting. Note that use of {{em|any}} space character in numbers, including non-breaking space, is problematic for [[screen reader]]s. {{crossref|(See [[#Non-breaking spaces|&sect;Non-breaking spaces]].)}}  Screen readers read out each {{em|group}} of digits as separate numbers (e.g. &nbsp;<code>30&amp;thinsp;000</code>&nbsp; is read as "thirty zero zero zero".)
* Delimiting style should be consistent throughout a given article.
* Delimiting style should be consistent throughout a given article.
:* Either use commas or narrow gaps, but not both in the same article.
:* Either group the thousands in a four-digit number or do not, but not mixed use in the same article.
:* Either group the thousands in a four-digit number or do not, but not mixed use in the same article.
:* However, grouping by threes and fives may coexist.
:* However, grouping by threes and fives may coexist.
* An exception is made for four-digit page numbers or four-digit calendar years.  These should never be grouped (not &nbsp;{{!xt|sailed in 1,492}}, &nbsp;though &nbsp;{{xt|dynasty collapsed around 10,400&nbsp;BC}} &nbsp;or &nbsp;{{xt|by {{val|13727|u=AD}}, Vega will be the northern pole star}}).
* An exception is made for four-digit page numbers or four-digit calendar years.  These should never be grouped (not &nbsp;{{!xt|sailed in 1,492}}, &nbsp;though &nbsp;{{xt|dynasty collapsed around 10,400&nbsp;BC}}).


===Percentages===
===Percentages===