Multiplication of two int's gets negative

后端 未结 4 1426
隐瞒了意图╮
隐瞒了意图╮ 2021-01-22 11:26

I\'m currently coding a little download manager and I get a funny output when I try to calculate the download-progress in percent. This is what i use to calculate it:

         


        
4条回答
提交回复
热议问题