源代码
var pencent = String.Format("{0:0.00%}", (passNum + noPassNum) > 0 ? (passNum* 1.0) / (passNum+ noPassNum) : 0);
var pencent = String.Format("{0:0.00%}", 23 > 0 ? (3* 1.0) / 23 : 0);
2022-09-21 19:31:33
源代码
var pencent = String.Format("{0:0.00%}", (passNum + noPassNum) > 0 ? (passNum* 1.0) / (passNum+ noPassNum) : 0);
var pencent = String.Format("{0:0.00%}", 23 > 0 ? (3* 1.0) / 23 : 0);