Module:Convert/text: Difference between revisions

(update from sandbox per Template talk:Convert#Module version 11)
(update from sandbox per Template talk:Convert#Module version 12)
Line 136:
["to(-)"] = { input = " to ", output = "–" },
["+/-"] = { off = " ± ", on = " ± ", adj = " ± ", is_range_change = true },
["by(x)"] = { offinput = " by ", onoutput = " × ", is_range_xout_range_x = true },
["x"] = { off = " by ", on = " × ", abbr_range_x = true },
["X"] = { off = " by ", on = " × " }, -- TEMPORARY and undocumented option for experiments to compare with new abbr_range_x
["xx"] = " × ",
["*"] = "×", -- use "*" to replace "x" in {{convert/2}} which is different from "x" in old {{convert}}
Line 287 ⟶ 289:
},
["round"] = {
["0.5"] = "opt_round=0.5", -- round output value to nearest 0.5
["5"] = "opt_round=5", -- round output value to nearest 5
["10"] = "opt_round=10", -- round output value to nearest 10 (same as but clearer than "|-1")
Anonymous user