Skip to content

Commit 1a5b259

Browse files
Merge pull request #959 from nikic/percent
Fix total boostrap change percentage
2 parents 7eb9d72 + eda738f commit 1a5b259

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/static/compare.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
443443
<th v-if="bootstrapTotals.a && bootstrapTotals.b">
444444
Total: {{(bootstrapTotals.b - bootstrapTotals.a).toFixed(1)}}
445445
<div v-bind:class="diffClass(bootstrapTotals.b - bootstrapTotals.a)">
446-
({{((bootstrapTotals.b - bootstrapTotals.a ) / bootstrapTotals.a).toFixed(3)}}%)
446+
({{((bootstrapTotals.b - bootstrapTotals.a ) / bootstrapTotals.a * 100).toFixed(3)}}%)
447447
</div>
448448
</th>
449449
</tr>
@@ -795,4 +795,4 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
795795
</script>
796796
</body>
797797

798-
</html>
798+
</html>

0 commit comments

Comments
 (0)