Remove num_to_string() function, because it is not used anywhere.
[pspp-builds.git] / src / data / data-out.c
index 6106fc3011f420f7080252db49c2c14f4c03ad0f..49a1dbd619187e87b4cd96f901378452e1c48e89 100644 (file)
@@ -187,15 +187,6 @@ data_out (char *s, const struct fmt_spec *fp, const union value *v)
   
   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. */