commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Seneque (JIRA)" <>
Subject [jira] [Issue Comment Deleted] (IO-373) FileUtils.byteCountToDisplaySize improvement/rounding issues
Date Tue, 23 Sep 2014 15:42:34 GMT


Xavier Seneque updated IO-373:
    Comment: was deleted

(was: I'm proposing either to replace or supplement this method by something that emulates
the output of "ls -lh" for the units. I'm attaching a patch with new function byteCountToHumanReadableGnu
with unit tests. It is consistent with my tests of "ls -lh" on Redhat Linux. I think that's
a format that a lot of people are used to.)

> FileUtils.byteCountToDisplaySize improvement/rounding issues
> ------------------------------------------------------------
>                 Key: IO-373
>                 URL:
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.4
>            Reporter: Mark
>            Priority: Minor
> Issue IO-226 is not fixed but closed.
> ?
> Here is my solution that also support a user-defined precision in terms of a maximum
length of the digits part.

This message was sent by Atlassian JIRA

View raw message