groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Number registers and prices: digits after decimal point


From: Karchnu
Subject: Number registers and prices: digits after decimal point
Date: Fri, 27 May 2022 12:28:04 +0200
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

Hello,


I want to use groff for invoices. To that end, I need to format numbers
with two digits after the decimal point.
For example, from "100" to "100.00".

I don't think there is a relevant format, currently.
https://www.gnu.org/software/groff/manual/groff.html#Assigning-Formats

Did I miss something? Do you have a solution (or a workaround)?


Also, I would like to create invoices in French, where the dot (".")
actually is a comma (","), but I may be able to hack this, probably.
And for "big" numbers, it should be written this way:
  From "1,000.00" to "1 000,00" (French style, with a space)


Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]