Template:Convert/to(-)

From Orain Meta
Jump to navigation Jump to search

{{convert/{{{4}}}|{{{1}}}|to(-)|{{{3}}}|{{{5}}}|s=(0.5)+(0{{{s}}})|r={{{r}}}|d=Dual/{{{d}}}}}

The Template:Convert/to(-) formats a 2-number range with the word "to" between numbers when showing a unit name, but with a dash "–" when showing a unit symbol. Examples:

  • {{convert|103|to(-)|105|km|mi}} → 103 to 105 kilometres (64–65 mi)
  • {{convert|103|to(-)|105|F|C}} → 103–105 °F (39.4–40.6 °C)
  • {{convert|-10|to|-15|F|C}} Template:Ns→ −10 to −15 °F (−23 to −26 °C)
  • {{convert|85|to(-)|95|K}} Template:Ns→ 85–95 K (−307 – −289 °F)

See also

pt:Predefinição:Convert/to(-)