This commit is contained in:
James Cole
2020-06-29 06:44:17 +02:00
parent 4e4b44d41d
commit 6232858b85
6 changed files with 8 additions and 9 deletions

View File

@@ -155,8 +155,7 @@ class AmountController extends Controller
return redirect(route('piggy-banks.index'));
}
$amount = (string) round($request->get('amount'), 12);
$amount = number_format((float) $request->get('amount'), 12, '.', '');
session()->flash(
'error',