Category talk:Integers

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Sorting numbers

[edit]

Integers in this category are sorted according to matching series numbers.

a is the first digit of a given positive integer with n digits. The series number is:

  • 0 if n=1
  • a followed by (n-1) 0 digits if n>1

Example: 256

  • first digit: 2
  • n=3, 2× 0 digits: 00

The series number is: 200.

So, a page about number 256 (like Category:256 (number)) will be categorized as follows:

[[Category:Integers|200 256]]

More generally, any page about an integer will be categorized as follows:

[[Category:Integers|series number number]]

--Juiced lemon 12:48, 30 June 2007 (UTC)[reply]

I think it's much better to put them in numeric order. I mean, that's really the only way that makes sense, right? So that's why I made {{Numbercategory}}. All you need to do is add that template to top of the category and put the number in the 1st parameter (i.e. {{numbercategory|number goes here}}). This auto-categorizes, auto-sorts, and adds a little navigation box (and possibly more). If we ever want to reorder the list the later we can simply change the template. Rocket000 17:03, 28 April 2008 (UTC)[reply]