Module:Convert/extra: Difference between revisions

Content deleted Content added
added comment to document the minor bodge
clear extras because now in Module:Convert/data
Line 18:
 
local extra_units = {
["cent"] = {
name1 = "cent",
symbol = "¢",
utype = "cent",
scale = 1,
default = "cent",
link = "Cent (currency)",
},
["¢"] = {
target = "cent",
},
-- Hz added as inverse length; this is not *strictly* correct
-- however it supports electromagnetic wavelength/frequency conversions
["Hz"] = {
_name1 = "hertz",
_name2 = "hertz",
_symbol = "Hz",
utype = "length",
scale = 3.3356409519815204e-9,
invert = -1,
iscomplex= true,
prefixes = 1,
default = "m",
link = "Hertz",
},
}