#include <stdio.h>
.....
char buf[100];
printf("You ordered %s sheets,",
_Fmtval(buf, (double)nitems, FV_INTEGER);
printf(" each %s square cm.\n",
_Fmtval(buf, size, 3);
printf("Please remit %s to New York office,\n",
_Fmtval(buf, cost, FV_INT_CUR));
printf("(that's %s).\n",
_Fmtval(buf, cost, FV_LCL_CUR));