On Sun, Dec 23, 2012 at 11:03:14PM +0100, John Darrington wrote: > I see that we are using dtoastr from gnulib in a few places. There > does not seem to be any locale independent version of this function. > Either we will need to write one, or we will need to use something > else. > > Do we need to use this function, or would c_strtod to the job ?
doastr converts a double to a string. c_strtod converts a string to a double. We should probably write a c_dtoastr(). It could be pretty simple, a wrapper around dtoastr() that then searches for a comma and replaces it by a period. _______________________________________________ pspp-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/pspp-dev
