On Sun, 5 Mar 2023 at 08:32, David Crayford <[email protected]> wrote:

strfmon() should do the trick.
>

Sigh... Binary floating point for currencies. Doesn't end well. Even
Bitcoin et al expect correct decimal results.


> https://pubs.opengroup.org/onlinepubs/009604599/functions/strfmon.html


There seems to be a newer version at
https://pubs.opengroup.org/onlinepubs/9699919799/functions/strfmon.html
Still binary FP though.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to