Modül:Spor tablosu/WL: Revizyonlar arasındaki fark
[kontrol edilmiş revizyon] | [kontrol edilmiş revizyon] |
İçerik silindi İçerik eklendi
Türkçeleştirme |
Superyetkin (mesaj | katkılar) Sıfıra bölme hatası düzeltildi |
||
134. satır:
local matches = wins + losses
local points = win_points*wins + loss_points*losses + s_pts
local win_perc = '—'
if matches > 0 then mm._precision_format(wins / matches, 3) end
if
-- Drop the leading zero (from the string)
win_perc = string.sub(win_perc,2,string.len(win_perc))
|