Commit 8da12432 authored by pengxin's avatar pengxin

进度格式调整。

parent 7add5030
...@@ -233,7 +233,7 @@ public class DatasetVersionController { ...@@ -233,7 +233,7 @@ public class DatasetVersionController {
double markCount = datasetDataService.count(datasetDataFilter); double markCount = datasetDataService.count(datasetDataFilter);
double percentage = (markCount / allMarkCount) * 100; double percentage = (markCount / allMarkCount) * 100;
int percent = (int) percentage; int percent = (int) percentage;
return percent+ "%(" + (int)markCount + "/" + (int)allMarkCount + ")"; return percent+ "% (" + (int)markCount + "/" + (int)allMarkCount + ")";
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment