Browse Source

Merge pull request #358 in BA/design from ~XIAOHU/design:master to master

* commit '752e323a284e7081d21fbed2522b4a7080714242':
  update
master
superman 8 years ago
parent
commit
3a28c9c2fd
  1. 4
      designer_base/src/com/fr/design/extra/plugindependence/DownLoadDependenceUI.java

4
designer_base/src/com/fr/design/extra/plugindependence/DownLoadDependenceUI.java

@ -266,6 +266,8 @@ public class DownLoadDependenceUI implements ActionListener {
}
private String showFileLength(){
return totalSize == -1 ? "NAN" : totalSize / Math.pow(10, 6) + "";
double len = totalSize / Math.pow(10, 6);
String lenStr = String.format("%.2f", len);
return totalSize == -1 ? "NAN" : lenStr;
}
}

Loading…
Cancel
Save