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 263: Line 263:
* The same rules apply to numbers given in words ({{xt|one dose}};{{nbsp}} {{xt|one and one-half doses}};{{nbsp}} {{xt|zero dollars}};{{nbsp}} {{xt|net change  negative one points}}).
* The same rules apply to numbers given in words ({{xt|one dose}};{{nbsp}} {{xt|one and one-half doses}};{{nbsp}} {{xt|zero dollars}};{{nbsp}} {{xt|net change  negative one points}}).


===<span id="Fractions"></span>Fractions and ratios===
===Fractions and ratios===
{{shortcut|MOS:FRAC|MOS:RATIO}}
 
* Spelled-out fractions are hyphenated: {{xt|seven-eighths}}.
* Spelled-out fractions are hyphenated: {{xt|seven-eighths}}.
* Where numerator and denominator can each be expressed in one word, a fraction is usually [[Fractions#Pronunciation and spelling|spelled out]] (e.g. {{xt|a two-thirds majority}}; {{nbsp}}{{xt|moved one-quarter mile}}); use figures if a fraction appears with a symbol (e.g. {{xt|{{frac|1|4}}{{nbsp}}mi}}{{snd}}markup: <code>{{tlx|frac|1|4}}&amp;nbsp;mi</code>, not {{!xt|a quarter of a mi}} or {{!xt|one-quarter mi}}).
* Where numerator and denominator can each be expressed in one word, a fraction is usually [[Wikipedia:Fractions#Pronunciation and spelling|spelled out]] (e.g. {{xt|a two-thirds majority}}; {{nbsp}}{{xt|moved one-quarter mile}}); use figures if a fraction appears with a symbol (e.g. {{xt|<sup>1</sup>&frasl;<sub>4</sub>{{nbsp}}mi}}{{snd}}markup: <code><nowiki><sup>1</sup>&amp;frasl;<sub>4</sub>&amp;nbsp;mi</nowiki></code>, not {{!xt|a quarter of a mi}} or {{!xt|one-quarter mi}}).
* [[Mixed numbers]] are usually given in figures, unspaced (not {{!xt|Fellini's film ''8{{nbsp}}{{frac|1|2}}''}} or {{!xt|''8-{{frac|1|2}}''}} but {{xt|Fellini's film ''{{frac|8|1|2}}''}}{{snd}}markup:  <code><nowiki>{{frac|8|1|2}}</nowiki></code>). In any case the integer and fractional parts should be consistent (not {{!xt|nine and{{nbsp}}{{frac|1|2}}}}).
* [[Wikipedia:Mixed numbers|Mixed numbers]] are usually given in figures, unspaced (not {{!xt|Fellini's film ''8{{nbsp}}<sup>1</sup>&frasl;<sub>2</sub>''}} or {{!xt|''8-<sup>1</sup>&frasl;<sub>2</sub>''}} but {{xt|Fellini's film ''8<sup>1</sup>&frasl;<sub>2</sub>''}}{{snd}}markup:  <code><nowiki>8<sup>1</sup>&amp;frasl;<sub>2</sub></nowiki></code>). In any case the integer and fractional parts should be consistent (not {{!xt|nine and{{nbsp}}<sup>1</sup>&frasl;<sub>2</sub>}}).
* Metric (SI) measurements generally use decimals, not fractions ({{xt|5.25{{nbsp}}mm}}, not {{!xt|5{{frac|1|4}}{{nbsp}}mm}}).
* Metric (SI) measurements generally use decimals, not fractions ({{xt|5.25{{nbsp}}mm}}, not {{!xt|5<sup>1</sup>&frasl;<sub>4</sub>{{nbsp}}mm}}).
* Non-metric (imperial and US customary) measurements may use fractions or decimals ({{xt|5{{frac|1|4}}{{nbsp}}inches}};{{nbsp}}{{xt|5.25{{nbsp}}inches}}); the practice of reliable sources should be followed, and within-article consistency is desirable.
* In science and mathematics articles mixed numbers are rarely used (not {{!xt|1{{frac|1|3}} times the original voltage}}, but {{xt|4/3 the original}}) and use of {{tlx|frac}} is discouraged in favor of one of these styles:
: &nbsp; &bull; &nbsp; <math>\textstyle\frac{1}{2}</math>{{snd}}markup: <code><[[WP:MATH|math]]>\textstyle\frac{1}{2}<nowiki></math></nowiki></code>
: &nbsp; &bull; &nbsp; {{xt|{{sfrac|1|2}}}}{{snd}}markup: {{tlx|sfrac|1|2}}
: &nbsp; &bull; &nbsp; {{xt|1/2}}{{snd}}markup: <code>1/2</code>
* Do not use special characters such as "&frac12;" (deprecated markup: <s><code>&amp;frac12;</code></s> or <s><code>&amp;#189;</code></s>).   
* Do not use special characters such as "&frac12;" (deprecated markup: <s><code>&amp;frac12;</code></s> or <s><code>&amp;#189;</code></s>).   
* Ordinal suffixes such as {{xtn|-th}} should not be used with fractions expressed in figures (not {{!xt|each US state has 1/50th of the [[United States Senate|Senate's]] votes}};&nbsp; {{!xt|1/8th mile}}, but {{xt|one-fiftieth of the [[United States Senate|Senate's]] votes}};&nbsp; {{xt|1/8 mile}};&nbsp; {{xt|one-eighth mile}}).
* Ordinal suffixes such as '''-th''' should not be used with fractions expressed in figures (not {{!xt|each US state has 1/50th of the [[Wikipedia:United States Senate|Senate's]] votes}};&nbsp; {{!xt|1/8th mile}}, but {{xt|one-fiftieth of the [[Wikipedia:United States Senate|Senate's]] votes}};&nbsp; {{xt|1/8 mile}};&nbsp; {{xt|one-eighth mile}}).
*Dimensionless ratios (i.e. those not incorporating units) are given using numerals and a colon, or numbers-as-words and ''to'': {{ xt|favored by a 3:1 ratio}} or {{nobr|{{ xt|a three-to-one ratio}},}} but not {{nobr|{{!xt|a 3/1 ratio}}}} or {{nobr|{{!xt|a 3&ndash;1 ratio}}.}} Use a "spaced" colon when a decimal point is present {{nobr|({{ xt|a 3.5&nbsp;:&nbsp;1 ratio}}{{snd}}markup:}} {{nobr|<code>a 3.5&amp;nbsp;:&amp;nbsp;1 ratio</code>).}} Do not use the colon form where units are involved ({{!xt|dissolve using a {{nobr|3 ml:1 g ratio}}}}){{mdashb}}instead see ''ratios'' section of table at [[#Unit names and symbols|§&nbsp;Unit names and symbols]], below.''
* Dimensionless ratios (i.e. those not incorporating units) are given using numerals and a colon, or numbers-as-words and ''to'': {{xt|favored by a 3:1 ratio}} or {{xt|a three-to-one ratio}}, but not {{!xt|a 3/1 ratio}} or {{!xt|a 3&ndash;1 ratio}}. Use a "spaced" colon when a decimal point is present ({{xt|a 3.5&nbsp;:&nbsp;1 ratio}}{{snd}}markup: <code>a 3.5&amp;nbsp;:&amp;nbsp;1 ratio</code>). Do not use the colon form where units are involved ({{!xt|dissolve using a 3 ml:1 g ratio}})&mdash;instead see ''ratios'' section of table at [[#Unit names and symbols|§&nbsp;Unit names and symbols]], below.''


===<span id="Decimal points"></span>Decimals===
===<span id="Decimal points"></span>Decimals===