Skip Menu |

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

Report information
The Basics
Id: 125630
Status: open
Priority: 0/
Queue: Data-Format

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

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



Subject: Money stuff seems very locale-specific.
I don't think many people around the world would say '3.850.000,5' looks like money. In English-speaking countries, for example, the comma is used as a thousands separator and the dot is used as the decimal separator. In most countries, the main unit of currency is subdivided into 100 of the smaller unit, so having decimals which are not two digits doesn't look like money. (But then again, in bitcoin can have 8 decimal places.) There's nothing wrong with having locale-specific modules on CPAN, but it should be explained in the documentation what countries this is designed for.
Em Ter Jun 19 07:34:39 2018, TOBYINK escreveu: Show quoted text
> I don't think many people around the world would say '3.850.000,5' > looks like money. > > In English-speaking countries, for example, the comma is used as a > thousands separator and the dot is used as the decimal separator. > > In most countries, the main unit of currency is subdivided into 100 of > the smaller unit, so having decimals which are not two digits doesn't > look like money. (But then again, in bitcoin can have 8 decimal > places.) > > There's nothing wrong with having locale-specific modules on CPAN, but > it should be explained in the documentation what countries this is > designed for.
Hi TOBYINK, I am very glad for your feedback. This function module has designed for money pretty formatting in Brazil, but you aised a very interesting point about the treatment of these data in different countries, which until then I did not know, I will announce this in the next version, and then come back with this functionality later, with more variety. Thanks again.