Content deleted Content added
replace space after seed number with non-breaking space |
remove leading 0 from winning percentage |
||
Line 333:
for idx, teamInfo in ipairs(listOfTeams) do
local winningPercentage = string.format(
'%.3f', teamInfo.wins / ( teamInfo.wins + teamInfo.losses )▼
winningPercentage = string.gsub(winningPercentage, '^0', '')
local teamRowInfo = {
teamSeasonPage = year .. ' ' .. teamInfo.teamLink .. ' season',
winningPercentage =
▲ '%.3f', teamInfo.wins / ( teamInfo.wins + teamInfo.losses )
▲ ),
gamesBehind = '',
seedText = '',
|