+Tue Oct 31 19:35:36 2006 Ben Pfaff <blp@gnu.org>
+
+ * data-out.c: (num_to_string) Removed, because it was dead code.
+
Tue Oct 31 18:09:24 2006 Ben Pfaff <blp@gnu.org>
* data-in.c (parse_trailer): Fix error message.
return ok;
}
-
-/* Converts V into S in F format with width W and D decimal places,
- then deletes trailing zeros. S is not null-terminated. */
-void
-num_to_string (double v, char *s, int w, int d)
-{
- struct fmt_spec f = make_output_format (FMT_F, w, d);
- convert_F (s, &f, v);
-}
\f
/* Main conversion functions. */
bool data_out (char *s, const struct fmt_spec *fp, const union value *v);
bool fmt_type_from_string (const char *name, int *type);
char *fmt_to_string (const struct fmt_spec *);
-void num_to_string (double v, char *s, int w, int d);
struct fmt_spec make_input_format (int type, int w, int d);
struct fmt_spec make_output_format (int type, int w, int d);
bool fmt_is_binary (int type);