整数除以整数后转成百分比并且保留一位小数

double percent = (double)alreadyRectification / (alreadyRectification + noRectification);
ViewData["rectificationCompletionRate"]= percent.ToString("0.0%");

原文地址:https://www.cnblogs.com/redfull/p/6890379.html