1
0
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:
Uncled1023 2017-02-20 20:46:45 -08:00
parent 3c6f766ad6
commit a97b848a7d

View File

@ -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";