Fix rounding. [skip ci]

This commit is contained in:
James Cole
2017-01-14 17:23:47 +01:00
parent 5bbaaece38
commit 1ce49b814b

View File

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