Fix rounding option: correct choice is 'round down' or 'no rounding'

This commit is contained in:
Claude Brisson
2024-08-29 18:37:42 +02:00
parent 3d755efa7e
commit fe48bfb4b6
8 changed files with 12 additions and 14 deletions

View File

@@ -97,7 +97,8 @@
<td class="nobreak game-result" #if($opponent)title="$esc.html($opponent.name)#if($opponent.firstname) $esc.html($opponent.firstname)#end #rank($opponent.rank)#if($opponent.country) $opponent.country#end"#end>$rst</td>
#end
#foreach($crit in $criteres)
<td>$number.format('0.#', $part[$crit])</td>
#set($value = "$number.format('0.#', $part[$crit])")
<td data-sort="$value">$value.replace('.5', '½')</td>
#end
</tr>
#end