16 #ifndef MNYFMT_NO_LONG_LONG
23 #define mnyfmt_size 96
26 #define mnyfmt_format_char (char)('9')
80 return mnyfmt(fmtstr,
'\0', moneyval, 0 );
86 return mnyfmt(fmtstr,
'\0', moneyval, 0 ) {
90 #define mnyfmt0(fmtstr,moneyval) mnyfmt(fmtstr, '\0', moneyval, 0 )
char * mnyfmt0(char *fmtstr, mnyfmt_long moneyval)
return mnyfmt(fmtstr, '\0', moneyval, 0 )
char * mnyfmt(char *fmtstr, char dec, mnyfmt_long moneyval, unsigned CE)
Formats and stores in fmtstr the money amount.
mnyfmt_long str2mnyCE(const char *amount, char dec, unsigned CE)
Returns an integer value that corresponds to 'amount', scaled 10^CE digits.