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. 6
      designer_base/src/com/fr/design/extra/plugindependence/DownLoadDependenceUI.java

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

@ -265,7 +265,9 @@ public class DownLoadDependenceUI implements ActionListener {
} }
} }
private String showFileLength() { 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