Removed the last floatvals.

This commit is contained in:
James Cole
2016-03-16 17:48:07 +01:00
parent fe9b8e834d
commit f093e29bd1
3 changed files with 5 additions and 5 deletions

View File

@@ -157,7 +157,7 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
$piggyBank->name = $data['name'];
$piggyBank->account_id = intval($data['account_id']);
$piggyBank->targetamount = floatval($data['targetamount']);
$piggyBank->targetamount = round($data['targetamount'], 2);
$piggyBank->targetdate = $data['targetdate'];
$piggyBank->startdate = $data['startdate'];