locale-dependent number parsing?

2010-04-05 Thread Linas Vepstas
I've found the following bug/feature with guile-1.8.7 and would like to solicit for comments. Is this a guile bug? What's the proper work-around? I've got a C program that does a setlocale (LC_ALL, ); printf (%f, 0.2000); In the de_DE.utf8 locale, the result of the print is 0,2000 using a

Re: locale-dependent number parsing?

2010-04-05 Thread Linas Vepstas
On 5 April 2010 12:19, Mike Gran spk...@yahoo.com wrote: From: Linas Vepstas linasveps...@gmail.com I've found the following bug/feature with guile-1.8.7 and would like to solicit for comments. Is this a guile bug? What's the proper work-around? I've got a C program that does a setlocale

Re: locale-dependent number parsing?

2010-04-05 Thread Ludovic Courtès
Hi Linas, In 1.9 there’s ‘locale-string-inexact’, which may be what you’re looking for; see http://www.gnu.org/software/guile/docs/master/guile.html/Number-Input-and-Output.html. Thanks, Ludo’.