Template:Number table sorting/doc: Difference between revisions

Content deleted Content added
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2:
{{Template shortcut|Nts}}
{{Lua|Module:Number table sorting}}
{{mbox
{{mboxWikipedia:
| type = notice
| text = Note. Adding <code>data-sort-type="number"</code> to the relevant column header solves many numerical sorting problems. See [[Wikipedia:Help:Sorting#Forcing a column to have a particular data type|Help:Sorting]].
Line 68:
 
==Sort key==
The sort key is a nineteen-digit number. For numbers within range the first four digits are determined by the number's sign and [[Wikipedia:order of magnitude|order of magnitude]] and the next fifteen digits are determined by the number's sign and [[Wikipedia:significand|significand]].
 
;Numbers within range
Line 184:
 
==See also==
For documentation see wikipedia page [[wikipedia:Number table sorting]]
* {{tl|Number table sorting hidden}} - same as this template, but does not display (hides) the number
 
* {{tl|val}} - displays numbers and quantities with various formatting options
* {{tl|Convert}} - has a sortable option
* {{tl|Date table sorting}}
* {{tl|Sort}}
* {{tl|Hidden sort key}}
 
<includeonly>{{sandbox other||