frontend: Round numbers in rules
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
08afde34a8
commit
532b3eccdc
1 changed files with 4 additions and 4 deletions
|
@ -162,19 +162,19 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>{10*$settings.globalScoreCoefficient*(1-$settings.discountedFactor)} points</td>
|
||||
<td>{Math.round(100*$settings.globalScoreCoefficient*(1-$settings.discountedFactor))/10} points</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>5</td>
|
||||
<td>{10*$settings.globalScoreCoefficient*(1-$settings.discountedFactor*5)} points</td>
|
||||
<td>{Math.round(100*$settings.globalScoreCoefficient*(1-$settings.discountedFactor*5))/10} points</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>10</td>
|
||||
<td>{10*$settings.globalScoreCoefficient*(1-$settings.discountedFactor*10)} points</td>
|
||||
<td>{Math.round(100*$settings.globalScoreCoefficient*(1-$settings.discountedFactor*10))/10} points</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>20</td>
|
||||
<td>{10*$settings.globalScoreCoefficient*(1-$settings.discountedFactor*20)} points</td>
|
||||
<td>{Math.round(100*$settings.globalScoreCoefficient*(1-$settings.discountedFactor*20))/10} points</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>...</td>
|
||||
|
|
Reference in a new issue