Skip to content

Commit

Permalink
Merge pull request #828 from project-primera/feat/overdamage
Browse files Browse the repository at this point in the history
桁数の表記を揃える
  • Loading branch information
slime-hatena committed Apr 15, 2024
2 parents 76fce82 + 930dc37 commit 5396a4e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<td class="sort_od">{{$s->over_damage_high_score . "%"}}</td>
@if (array_key_exists($s->song_id . "_" . $s->difficulty, $topRankerScore))
<td class="sort_key1">{{$topRankerScore[$s->song_id . "_" . $s->difficulty] . "%"}}</td>
<td class="sort_key2">{{$s->over_damage_high_score - $topRankerScore[$s->song_id . "_" . $s->difficulty]}}%</td>
<td class="sort_key3">{{($topRankerScore[$s->song_id . "_" . $s->difficulty] != 0) ? ($s->over_damage_high_score / $topRankerScore[$s->song_id . "_" . $s->difficulty]) * 100 : 100}}%</td>
<td class="sort_key2">{{number_format(abs((($s->over_damage_high_score * 100) - ($topRankerScore[$s->song_id . "_" . $s->difficulty] * 100))) / 100, 2)}}%</td>
<td class="sort_key3">{{number_format(($topRankerScore[$s->song_id . "_" . $s->difficulty] != 0 && false) ? (($s->over_damage_high_score * 100) / ($topRankerScore[$s->song_id . "_" . $s->difficulty] * 100)) * 100 : 100, 2)}}%</td>
@else
<td class="sort_key1">?%</td>
<td class="sort_key2">?%</td>
Expand Down

0 comments on commit 5396a4e

Please sign in to comment.