This commit is contained in:
James Cole 2016-05-24 11:28:24 +02:00
parent a447c886c4
commit ada43bc0dd

View File

@ -270,7 +270,7 @@ class PiggyBankController extends Controller
*/
public function postRemove(PiggyBankRepositoryInterface $repository, PiggyBank $piggyBank)
{
$amount = round(Input::get('amount'), 2);
$amount = strval(round(Input::get('amount'), 2));
$savedSoFar = $piggyBank->currentRelevantRep()->currentamount;