Skip Menu |

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

Report information
The Basics
Id: 71623
Status: new
Priority: 0/
Queue: Locale-Currency-Format

People
Owner: Nobody in particular
Requestors: mailtojohn [...] mail.ru
Cc:
AdminCc:

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



Subject: Bug in decimal_precision func
In decimal_precision there is a code at the end of sub: if (!$precision) { $::_error = 'Non-existant decimal precision'; return; } But $precision here can be 0 (for Japanese Yen), so (!defined $precision) should be used instead. I suspect there's the same bug with decimal_separator and thousands_separator.