Changeset 63ddf11
- Timestamp:
- Nov 8, 2015 6:14:19 PM (5 years ago)
- Branches:
- master
- Children:
- bdde11c
- Parents:
- a3b55cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
core/java/src/net/i2p/data/DataHelper.java
ra3b55cc r63ddf11 1618 1618 */ 1619 1619 public static String formatSize(long bytes) { 1620 doubleval = bytes;1620 float val = bytes; 1621 1621 int scale = 0; 1622 while (val >= 1024 ) {1622 while (val >= 1024.0f) { 1623 1623 scale++; 1624 val /= 1024 ;1624 val /= 1024.0f; 1625 1625 } 1626 1626
Note: See TracChangeset
for help on using the changeset viewer.