保留 2 位小数
This commit is contained in:
parent
682a8e7d02
commit
33c6efe1e8
@ -13,7 +13,7 @@
|
||||
<td>{{ $year }}</td>
|
||||
@for ($i = 1; $i < 13; $i++)
|
||||
|
||||
<td @if (($months[$i]['should_balance'] ?? 0) > 0) class="text-danger" @endif>{{ $months[$i]['should_balance'] ?? 0 }}
|
||||
<td @if (($months[$i]['should_balance'] ?? 0) > 0) class="text-danger" @endif>{{ round(($months[$i]['should_balance'] ?? 0), 2) ?? 0 }}
|
||||
元
|
||||
</td>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user