Re: convert char * to double



Hello,

  I'm not sure but maybe  " istringstream " method can help you.

Bye

2006/2/24, Alexander Volosatov <rope-walker yandex ru >:
Hello.
Somebody knows how to convert char * to double.
I use atof() method, but in char * decimal separator is '.' but my
local  decimal separator is ',' therefore atof() convert only part
befor decimal separator.
I know that this in not gtkmm question, but ... i have no ideas how to
do this.
PS: I use gettext to i18n.


--
Alexander                          mailto:rope-walker yandex ru

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]