Modul:Auszeichnung: Unterschied zwischen den Versionen

Leerzeichen vor Prozent
(typo)
(Leerzeichen vor Prozent)
Zeile 94: Zeile 94:
local p_basis_ort_maennlich = math.floor(n_basis_ort_maennlich / n_basis_ort_geschlecht * 100 + 0.5)
local p_basis_ort_maennlich = math.floor(n_basis_ort_maennlich / n_basis_ort_geschlecht * 100 + 0.5)
local p_basis_ort_divers = math.floor(n_basis_ort_divers / n_basis_ort_geschlecht * 100 + 0.5)
local p_basis_ort_divers = math.floor(n_basis_ort_divers / n_basis_ort_geschlecht * 100 + 0.5)
t = t .. "<br>&rarr; davon " .. n_basis_ort_weiblich .. " (" .. p_basis_ort_weiblich.. "%) Frauen"
t = t .. "<br>&rarr; davon " .. n_basis_ort_weiblich .. " (" .. p_basis_ort_weiblich.. " %) Frauen"
t = t .. ", " .. n_basis_ort_maennlich .. " (" .. p_basis_ort_maennlich.. "%) Männer"
t = t .. ", " .. n_basis_ort_maennlich .. " (" .. p_basis_ort_maennlich.. " %) Männer"
t = t .. " und " .. n_basis_ort_divers .. " (" .. p_basis_ort_divers.. "%) Divers '''(ggf. Rest nicht angegeben)'''"
t = t .. " und " .. n_basis_ort_divers .. " (" .. p_basis_ort_divers.. " %) Divers '''(ggf. Rest nicht angegeben)'''"
end
end
if attr["Geburtsort"] == nil then
if attr["Geburtsort"] == nil then
Zeile 103: Zeile 103:
local p_basis_fuerth_geschlecht = math.floor(n_basis_fuerth_geschlecht / n_basis_ort_geschlecht * 100 + 0.5)
local p_basis_fuerth_geschlecht = math.floor(n_basis_fuerth_geschlecht / n_basis_ort_geschlecht * 100 + 0.5)
local p_basis_ausserhalb_geschlecht = math.floor(n_basis_ausserhalb_geschlecht / n_basis_ort_geschlecht * 100 + 0.5)
local p_basis_ausserhalb_geschlecht = math.floor(n_basis_ausserhalb_geschlecht / n_basis_ort_geschlecht * 100 + 0.5)
t = t .. "<br>&rarr; davon " .. n_basis_fuerth_geschlecht .. " (" .. p_basis_fuerth_geschlecht.. "%) gebürtige Fürther"
t = t .. "<br>&rarr; davon " .. n_basis_fuerth_geschlecht .. " (" .. p_basis_fuerth_geschlecht.. " %) gebürtige Fürther"
t = t .. " und " .. n_basis_ausserhalb_geschlecht .. " (" .. p_basis_ausserhalb_geschlecht.. "%) außerhalb Fürths geboren '''(ggf. Rest nicht angegeben)'''"
t = t .. " und " .. n_basis_ausserhalb_geschlecht .. " (" .. p_basis_ausserhalb_geschlecht.. " %) außerhalb Fürths geboren '''(ggf. Rest nicht angegeben)'''"
end
end
t = t .. "<br>'''"
t = t .. "<br>'''"