mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
parent
7235cb72b4
commit
fc829b7183
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class PricedetailHelper
|
|||
return null;
|
||||
}
|
||||
|
||||
return $avg->dividedBy($count)->toScale(Pricedetail::PRICE_PRECISION);
|
||||
return $avg->dividedBy($count)->toScale(Pricedetail::PRICE_PRECISION, RoundingMode::HALF_UP);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue