Fix rounding. [skip ci]

This commit is contained in:
James Cole 2017-01-14 17:23:47 +01:00
parent 5bbaaece38
commit 1ce49b814b
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -89,7 +89,7 @@ class PiggyBankRepetition extends Model
*/
public function setCurrentamountAttribute($value)
{
$this->attributes['currentamount'] = strval(round($value, 2));
$this->attributes['currentamount'] = strval(round($value, 12));
}
}