Hi, I'm not sure about other locales, but in practice, for hi_IN almost everything is expressed with that notation, not just monetary values. For an example, check out this website - covid19india.org , all values would be in that formatting. The rationale is that instead of expressing things in thousands, milions, or billions, they are more commonly expressed here in thousands, "lakhs" and "crores" where 1 lakh = 1,00,000 and 1 crore = 1,00,00,000. Hence the commas to enable expressing things in those units.
Thanks, Jitin On Wednesday, 1 July 2020 01:53:27 UTC+5:30, Daniele Nicolodi wrote: > > On 28/06/2020 22:17, Daniele Nicolodi wrote: > > Hello, > > > > I have been working on the Beancount input file parser and I found that > > it does not correctly support digit grouping in monetary values in the > > hi_IN locale, despite trying to do so. > > > > Please see issue https://github.com/beancount/beancount/issues/490 > > > > I haven't see any bug report regarding this, but I don't know if this is > > because no Beancount user uses the hi_IN locale, if it is because there > > is no expectation for this uncommon numercial format to be accepted, if > > it is because it is not often used in practice (I don't think so because > > I can find examples of it in recent Indian newspaper articles). > > > > Properly supporting the hi_IN monetary formatting is some extra work, > > but it may be worth doing it if users would benefit. > > Another question came to my mind: are stock shares supposed to be > formatted as monetary or regular numerical values? > > For most locales these are the same, but for some there is a difference, > for example accordingly to the locale definition in hi_IN locale the > number one million is formatted as "10,00,000" if it is a monetary > value, but as "100,000" if it is just a number. > > Thank you. > > Cheers, > Dan > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/fe9d862d-09cf-40b7-bf37-30a5da0089a0o%40googlegroups.com.
