Template:Numbersort

From Disney•Pixar CARS Wiki
Jump to navigation Jump to search
This template is a component of another, as to help organize (and/or optimize) a larger structure of code. It is not meant to be called individually and should never be placed into an article.

Used to achieve numerical sorting in non-integer Cargo columns. It essentially converts a 1- or 2-digit number into 3-digit notation (i.e. 001 or 010) so the alphabetical sorter will put them first.

Parameters

  • unnamed (string) - Number to be converted. Works with fractions.