mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Reformat various code.
This commit is contained in:
@@ -51,7 +51,7 @@ class FrontpageController extends Controller
|
||||
if (1 === bccomp($amount, '0')) {
|
||||
// percentage!
|
||||
$pct = 0;
|
||||
if(0.0 !== (float)$piggyBank->targetamount) {
|
||||
if (0.0 !== (float) $piggyBank->targetamount) {
|
||||
$pct = round(($amount / $piggyBank->targetamount) * 100);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user