* About

I wrote this example to demonstrate how to convert a double to a
well-formed monetary string after reading someone else's code. I
cannot show the proprietary code, but I can say it involved loops, if
statements, multiple mallocs, and traversing strings with pointers to
insert each comma.

Half of my example is just for the setup of passing in the value, but
even with that, my example is easier to follow and shorter.


* Warning

In general, one should not use floating point variables for
money. Instead, use the smalled indivisible unit of money. For
example, use cents instead of dollars for US$.
