DECIMAL POINT IS COMMA ...

new topic     » topic index » view thread      » older message » newer message

Maybe some of you remember that COBOL sentence.
In some countries, (like mine), the number formatting is reversed: Dots
separate thousands whilst comma is the separator for decimals.
I know I can do a sprintf to a buffer and afterwards reverse it,
but (to Robert):

Would it be possible to implement a printf descriptor in the way %3,2d
instead of %3.2d telling the use of the reverse notation?.
(Please Robert, consider it as an improvement request, it should'n be too
difficult to implement).
Thanks
Jesus.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu