Template:SI prefix

From Kerbal Space Program Wiki
Jump to: navigation, search

Returns the value with the corresponding SI prefix. Only the unit needs to be added. Supports the prefixes from nano (10⁻⁹) to tera (10⁺¹²), except deca (10¹) and hecto (10²). It round to the number of places given in the second parameter which defaults to 2.

#/Name Optional Description Default
1 No Value in base unit (e.g. meters, kilograms)
2 Yes Number of decimal places to be round to. 2
sort Yes If set to 'y' (or 'Y') it automatically adds the value as a sort key. n