Module:Convert: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(update from sandbox per Template talk:Convert#Module version 17)
(extra Wikidata fix I meant to do: when using "frequency" or "wavelength", any output unit also specified in the convert is ignored)
Line 2,172: Line 2,172:
end
end
if word and not set_precision(word) then
if word and not set_precision(word) then
parms.out_unit = word
parms.out_unit = parms.out_unit or word
if set_precision(strip(parms[i])) then
if set_precision(strip(parms[i])) then
i = i + 1
i = i + 1