处理精度溢出
This commit is contained in:
parent
337f3f4bf8
commit
9d222a8c87
@ -2469,6 +2469,9 @@ class StoreOrderRepository extends BaseRepository
|
||||
$value['come_msg'] = "给".$value['mer_name'];
|
||||
}
|
||||
}
|
||||
$income = sprintf("%.2f", $income);
|
||||
$outcome = sprintf("%.2f", $outcome);
|
||||
|
||||
return compact('income','outcome','list');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user