c# Programming Glossary: filescompleted
simple calculation not working for some reason http://stackoverflow.com/questions/12329042/simple-calculation-not-working-for-some-reason returning 0 i checked the values while debugging and with FilesCompleted being 295 and TotalFilesCount being 25002 the returnvalue var.. be 1 already. private int CalculatePercentComplete int FilesCompleted int TotalFilesCount int returnvalue FilesCompleted TotalFilesCount.. int FilesCompleted int TotalFilesCount int returnvalue FilesCompleted TotalFilesCount 100 if returnvalue 100 returnvalue 1 return..
|