Skip Menu |
 

This queue is for tickets about the Number-Bytes-Human CPAN distribution.

Report information
The Basics
Id: 81477
Status: resolved
Priority: 0/
Queue: Number-Bytes-Human

People
Owner: dagobert [...] cpan.org
Requestors: matthew.vale [...] tuxtel.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.07
Fixed in: 0.09



Subject: precision support
Download (untitled) / with headers
text/plain 899b
Hello, been using your module and found it to be very useful, unfortunately for me found some inconsistency and missing bits. I hope you approve I have had a look and made some updates. a brief of which below * Implemented missing round style and trunc style * corrected behaviour when exceeding the max number of suffixes * Implemented precision (only really effective if using round_style or a custom round) ** defaults to 1 to match existing formatting in conjunction with precision_cutoff * Implemented precision_cutoff to complement the existing functionality that renders 10 as 10 but 1 as 1.0 ** by default it is set to 1 (replicating existing formatting) ** set to -1 to completely disable ** it counts in digits so setting to 2 will cause 10 to be 10.0 but 100 to be 100 ** this also brings numbers below the first byte boundary in-line with this formatting (updated tests to reflect this)
Subject: Number-Bytes-Human-0.08.tar.gz
Download Number-Bytes-Human-0.08.tar.gz
application/x-gzip 9.4k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 403b
Hi, Am Di 27. Nov 2012, 05:45:26, https://mafoo.pip.verisignlabs.com/ schrieb: Show quoted text
> Hello, been using your module and found it to be very useful, > unfortunately for me found some inconsistency and missing bits. > I hope you approve I have had a look and made some updates.
I added your updates from the attached 0.08 file and released a new module 0.09 including some other fixes. Best regards -- Dago
Closing again.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.