¡@

Home 

c# Programming Glossary: totalfilescount

simple calculation not working for some reason

http://stackoverflow.com/questions/12329042/simple-calculation-not-working-for-some-reason

while debugging and with FilesCompleted being 295 and TotalFilesCount being 25002 the returnvalue var is just 0 it should be 1 already... int CalculatePercentComplete int FilesCompleted int TotalFilesCount int returnvalue FilesCompleted TotalFilesCount 100 if returnvalue.. int TotalFilesCount int returnvalue FilesCompleted TotalFilesCount 100 if returnvalue 100 returnvalue 1 return 1 else return returnvalue..