accounting icon indicating copy to clipboard operation
accounting copied to clipboard

indian format bug fixed

Open mjafaari opened this issue 4 years ago • 2 comments

mjafaari avatar Feb 04 '21 17:02 mjafaari

Thank you very much 😄 Looks like this PR will fix the issue https://github.com/leekchan/accounting/issues/16 .

leekchan avatar Feb 10 '21 02:02 leekchan

Searching for similar formatting system I found this can solve the problem of number formatting :

p := message.NewPrinter(language.Hindi)
p.Printf("%s %f", "₹", 100000000.0)

playground: https://go.dev/play/p/bJMKuCYM2JZ Hope this could help :D

svandecappelle avatar Dec 08 '21 15:12 svandecappelle