Template:Convert/Dual/LoffAoffDnocommaSoff

From WikiSwire
Jump to navigation Jump to search


In {{Convert|{{{1}}}||...}}, invalid range option "disp=nocomma" – use range-words "tonocomma" or "xxnocomma" (etc.) to suppress commas. 

The option "disp=nocomma" does not work in ranges because commas are forced into the results depending on the range-word (to, or, and, xx, by, etc.). Instead, use the range-words with suffix "nocomma" as follows:

  • {{convert|2000|tonocomma|5000|ft|m}} → 2000 to 5000 feet (610 to 1500 m)
  • {{convert|2000|to|5000|ft|m}} → 2,000 to 5,000 feet (610 to 1,500 m)
  • {{convert|9800|xxnocomma|11700|ft|m}} → 9800 × 11700 feet (3000 × 3600 m)
  • {{convert|3300|andnocomma|7600|ft|m}} → 3300 and 7600 feet (1000 and 2300 m)
  • {{convert|1250|bynocomma|2450|ft|m}}   → 1250 by 2450 feet (380 by 750 m)

The option "disp=nocomma" only works for 1-unit conversions, not for 2-unit ranges of units.