On Mon, 20 Mar 2000, Nilton S. Ramos Quorin wrote:
> Hello,
> I'm having trouble to do a string to double conversion. I have the
> following simple code which doesn't work:
>
> char *ch;
> float f;
> ch = "2345.235";
> f = strtod (ch,NULL);
>
> I compiled my code with a Glade make. When i compile it with a simple
> gcc command, it works.
> I tried to set the environment variable LC_ALL to en_US
> Is there a gtk function for this special purpose?
not for the lc settings, but we ran into the locale problem with
strtod() as well. as a result, there is g_strtod() which takes care
of string to double conversiuon now.
> Thanks,
> Nilton
>
---
ciaoTJ
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null