Batista, Facundo wrote: > #- Good, but the name seems ambiguous -- I would expect 'money' > #- to include > #- a *currency unit*, while these are just numbers. E.g., > #- these days for me a > #- "money amount" of "1000" isn't immediately significant -- > #- does it mean "old > #- liras", Euros, SEK, ...? If a clearer name (perhaps > #- Decimal?) was adopted, > #- the type's purposes would be also clearer, perhaps. > > Specifically it doesn't diferenciate it. It is printed with a '$' > prefix, but that's all. >From the prePEP it's not clear (for me) the purpose of curencySymbol. If it's intended for localisation, then prefix isn't enough, some countries use suffix or even such format Money(123.45, 2) --> 123 FF 45 GG where FF is suffix1 and GG is suffix2. Regards, Mike PS. If it's not appropriate to post such comments to c.l.p.dev, just tell me.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4