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
This queue is for tickets about the Number-Format CPAN distribution.
The Basics
People
|
Bug Information
|