Introduction
If imperial units are listed first, this script flips the words around to put metric first.
Examples
this script turns
- 55 miles (89 km)
- 500 feet (150 m)
- 95 °F (35 °C)
- 2.8 inches (71 mm)
into (respectively)
- 89 kilometres (55 mi)
- 150 metres (500 ft)
- 35 °C (95 °F)
- 71 millimetres (2.8 in)
Installation (English Wikipedia)
importScript("User:Thespaceface/MetricFirst.js");
American Spelling Variant
There is an alternate version for this script that uses US Spelling standards (e.g., "Kilometer" vs. "Kilometre")
To Install that:
importScript("User:Thespaceface/MetricFirstAmericanSpelling.js");
Notes
- This script is not complete
- This script only works when both units are listed
- Numbers have to be written as digits
Source
see User:Thespaceface/MetricFirst.js and User:Thespaceface/MetricFirstAmericanSpelling.js
See Also
🔥 Top keywords: Main PageSpecial:SearchPage 3Wikipedia:Featured picturesHouse of the DragonUEFA Euro 2024Bryson DeChambeauJuneteenthInside Out 2Eid al-AdhaCleopatraDeaths in 2024Merrily We Roll Along (musical)Jonathan GroffJude Bellingham.xxx77th Tony AwardsBridgertonGary PlauchéKylian MbappéDaniel RadcliffeUEFA European Championship2024 ICC Men's T20 World CupUnit 731The Boys (TV series)Rory McIlroyN'Golo KantéUEFA Euro 2020YouTubeRomelu LukakuOpinion polling for the 2024 United Kingdom general electionThe Boys season 4Romania national football teamNicola CoughlanStereophonic (play)Gene WilderErin DarkeAntoine GriezmannProject 2025