Skip Menu |

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

Report information
The Basics
Id: 62059
Status: open
Priority: 0/
Queue: Number-Format

People
Owner: Nobody in particular
Requestors: cpan [...] punch.net
Cc: CHORNY [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Losing precision when using Math::BigFloat
use Number::Format; use Math::BigFloat; my $number_formatter = Number::Format->new(); my $v = Math::BigFloat->new(500.27); print $number_formatter->format_number($v, 2, 1); # prints 500.00
A fix for this will be in 1.74
On Tue Apr 19 20:02:10 2011, WRW wrote: Show quoted text
> A fix for this will be in 1.74
Do you have this version in some repository? -- Alexandr Ciornii, http://chorny.net
On Tue Nov 13 08:42:11 2012, CHORNY wrote: Show quoted text
> On Tue Apr 19 20:02:10 2011, WRW wrote:
> > A fix for this will be in 1.74
> > Do you have this version in some repository? >
https://github.com/billward/number-format-perl is available.
Subject: Re: [rt.cpan.org #62059] Losing precision when using Math::BigFloat
Date: Mon, 8 Jun 2015 13:07:32 -0700
To: bug-Number-Format [...] rt.cpan.org
From: William Ward - CPAN <wrw [...] cpan.org>
Yes, it is, but I haven't done anything other than check in the historical versions. I'm afraid I have neglected this module badly. I saw your pull request and it mostly looked good but you changed the spelling of the word "warning" in a comment. Fix that and resubmit it. On Mon, Jun 8, 2015 at 11:32 AM, David Solimano via RT < bug-Number-Format@rt.cpan.org> wrote: Show quoted text
> Queue: Number-Format > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=62059 > > > On Tue Nov 13 08:42:11 2012, CHORNY wrote:
> > On Tue Apr 19 20:02:10 2011, WRW wrote:
> > > A fix for this will be in 1.74
> > > > Do you have this version in some repository? > >
> > https://github.com/billward/number-format-perl is available. >
-- Check out my LEGO blog at http://www.brickpile.com/ View my photos at http://flickr.com/photos/billward/ Follow me at http://twitter.com/williamward
Subject: Re: [rt.cpan.org #62059] Losing precision when using Math::BigFloat
Date: Mon, 8 Jun 2015 14:07:40 -0700
To: bug-Number-Format [...] rt.cpan.org
From: William Ward - CPAN <wrw [...] cpan.org>
Merged the pull request. On Mon, Jun 8, 2015 at 1:07 PM, William Ward - CPAN <wrw@cpan.org> wrote: Show quoted text
> Yes, it is, but I haven't done anything other than check in the historical > versions. I'm afraid I have neglected this module badly. > I saw your pull request and it mostly looked good but you changed the > spelling of the word "warning" in a comment. Fix that and resubmit it. > > > On Mon, Jun 8, 2015 at 11:32 AM, David Solimano via RT < > bug-Number-Format@rt.cpan.org> wrote: >
>> Queue: Number-Format >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=62059 > >> >> On Tue Nov 13 08:42:11 2012, CHORNY wrote:
>> > On Tue Apr 19 20:02:10 2011, WRW wrote:
>> > > A fix for this will be in 1.74
>> > >> > Do you have this version in some repository? >> >
>> >> https://github.com/billward/number-format-perl is available. >>
> > > > -- > Check out my LEGO blog at http://www.brickpile.com/ > View my photos at http://flickr.com/photos/billward/ > Follow me at http://twitter.com/williamward >
-- Check out my LEGO blog at http://www.brickpile.com/ View my photos at http://flickr.com/photos/billward/ Follow me at http://twitter.com/williamward