Hi! Bit strange number->string procedure result in C6 latest chicken-core,
(and I think in C5)
In some locales, where  float number 'dot' isn't dot but comma  ("0.5  vs
0,5") standard chicken's scheme library procedure (number->string 0.5)
outputs "0,5.0", I'll check runtime.c:11256  in C_flonum_to_string
function, where tests sprintf output for ".eE" presence, nor for ",".

Also (string->number (number->string 0.5))  in such setup outputs #f, not
0.5.

It looks meaningless, but in some cases such info may help. I got stuck
after the fact that gtk_init  calls shadowly setlocale. (yep, there is
gtk_disable_setlocale, now I know )))

Regards, Chickeners!

Reply via email to