Template:Convert/to(-)

0

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:
 * {&#123;convert|103|to(-)|105|km|mi}} &rarr; 103 to(-)
 * {&#123;convert|103|to(-)|105|F|C}} &rarr; 103 to(-)
 * {&#123;convert|-10|to|-15|F|C}}    &rarr; -10 to -15 F
 * {&#123;convert|85|to(-)|95|K}}    &rarr; 85 to(-)