C# simple divide problem

前端 未结 9 1020
感动是毒
感动是毒 2020-12-11 01:40

I have this:

 double result = 60 / 23;

In my program, the result is 2, but correct is 2,608695652173913. Where is problem?

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