mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Fixed progress bar again
This commit is contained in:
parent
3c6f766ad6
commit
a97b848a7d
@ -8,7 +8,7 @@
|
||||
int incomePercentage = 100;
|
||||
if (totalIncome != 0 && totalBills != 0)
|
||||
{
|
||||
incomePercentage = (int)Math.Min((Math.Floor(totalIncome / totalBills) * 100), 100);
|
||||
incomePercentage = (int)Math.Min(Math.Floor((totalIncome / totalBills) * 100), 100);
|
||||
}
|
||||
|
||||
string processStyle = "progress-bar progress-bar-success";
|
||||
|
Loading…
Reference in New Issue
Block a user