#include "libpspp/i18n.h"
#include "libpspp/message.h"
#include "libpspp/str.h"
+#include "libpspp/misc.h"
#include "gl/ftoastr.h"
{
char s[DBL_BUFSIZE_BOUND];
- dtoastr (s, sizeof s, 0, 0, number);
+ c_dtoastr (s, sizeof s, 0, 0, number);
ds_put_cstr (output, s);
}
}
%d: Same as printf's %d.
- %fp: The double argument is formatted precisely as a PSPP
- number, as if with a call to syntax_gen_number with a
- null FORMAT argument.
+ %f %g: Same as printf.
%%: Literal %.