Change the precision. Should not influence anything.

This commit is contained in:
James Cole
2016-03-16 17:47:07 +01:00
parent 64f273120e
commit fe9b8e834d
33 changed files with 4 additions and 57 deletions

View File

@@ -77,7 +77,6 @@ class ReportHelper implements ReportHelperInterface
$billLine->setMax($bill->amount_max);
// is hit in period?
bcscale(2);
$entry = $journals->filter(
function (TransactionJournal $journal) use ($bill) {
@@ -229,7 +228,6 @@ class ReportHelper implements ReportHelperInterface
*/
public function tagReport(Carbon $start, Carbon $end, Collection $accounts): array
{
bcscale(2);
$ids = $accounts->pluck('id')->toArray();
$set = Tag::
distinct()
@@ -289,7 +287,6 @@ class ReportHelper implements ReportHelperInterface
*/
protected function getSumOfRange(Carbon $start, Carbon $end, array $array)
{
bcscale(2);
$sum = '0';
$currentStart = clone $start; // to not mess with the original one
$currentEnd = clone $end; // to not mess with the original one