fix precision

This commit is contained in:
Cody Robibero 2022-04-24 12:28:16 -06:00
parent f851084189
commit f5e39eab8d
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ public class SyncFromTraktTask : IScheduledTask
}
// Purely for progress reporting
var percentPerUser = 100 / users.Count;
var percentPerUser = 100d / users.Count;
double currentProgress = 0;
var numComplete = 0;

View File

@ -93,7 +93,7 @@ public class SyncLibraryTask : IScheduledTask
// Purely for progress reporting
double currentProgress = 0;
var percentPerUser = 100.0 / users.Count;
var percentPerUser = 100d / users.Count;
foreach (var user in users)
{