simple calculation not working for some reason

后端 未结 4 816
耶瑟儿~
耶瑟儿~ 2020-11-28 17:15

Alright, I\'m trying to calculate the percentage of two values. This should be really simple but for some weird reason it\'s not working. I\'m too tired/dumb to figure it ou

4条回答
  •  旧巷少年郎
    2020-11-28 17:42

    The FilesCompleted/TotalFilesCount returns 0.01 which in int format is 0, try FilesCompleted*100/TotalFilesCount!

提交回复
热议问题