getfmoney - get format for MONEY values
#include
char *getfmoney()
Getfmoney returns a pointer to a string containing the format for
MONEY values. This format string is used by atomoney(C-3)
and
moneytoa(C-3). In addition, several
of the C/Base programs use
this string for formatting MONEY values.
The first format specifier is for positive (>0) values. The
second is for negative (<0) values and the third is for zero
values. In the absence of the second or third specifiers, the
first specifier is used for the corresponding class of values.
The MONEY format string is retrieved from the country format
structure (see fcountry(C-3)).
fcountry(C-3), atomoney(C-3),
moneytoa(C-3)
C/Base Reference Manual Chapter 13, "Formatting Data Values"
The value returned points to static data shared among all of the
get format routines and is overwritten with each call.