@ -142,6 +142,13 @@ public class PortraitController extends BaseController {
}
/**
* 计算百分比的函数
* @param up 分子
* @param down 分母
* @param scale 保留几位小数
* @return
*/
public static double round(Integer up, Integer down, int scale) {
try {