C#中两数相除为0的原因

double a=3/5;

这种结果为0,。如下为小数。

double =(double)3/(double);
posted @ 2020-03-13 10:51  LcVong  Views(1683)  Comments(0Edit  收藏  举报