[ 
https://issues.apache.org/jira/browse/IO-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tyler Barrus updated IO-373:
----------------------------
    Attachment: byteCountToDisplaySize.patch

I agree that it would make more sense to add the number of decimal places to 
show rather than number of total digets. the "byteCountToDisplaySize.patch" 
file has my implementation of this change along with supporting test cases. 

I left the rounding the same as the original functionality.

- barrust


> FileUtils.byteCountToDisplaySize improvement/rounding issues
> ------------------------------------------------------------
>
>                 Key: IO-373
>                 URL: https://issues.apache.org/jira/browse/IO-373
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.4
>            Reporter: Mark
>            Priority: Minor
>         Attachments: byteCountToDisplaySize.patch, 
> byteCountToHumanReadableGnu.patch
>
>
> 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
(v6.3.4#6332)

Reply via email to