currency.icn: Procedures for formatting currency

link currency
September 21, 1993; Robert J. Alexander
This file is in the public domain.

currency() -- Formats "amount" in standard American currency format.
"amount" can be a real, integer, or numeric string.  "width" is the
output field width, in which the amount is right adjusted.  The
returned string will be longer than "width" if necessary to preserve
significance.  "minus" is the character string to be used for
negative amounts (default "-"), and is placed to the right of the
amount.

Source code | Program Library Page | Icon Home Page