Hello! I'm in Brazil.
Look this code: ---- start char *pChar; g_print("Literal to Double value = %10,5g", strtod( (const char*) "3.14151692", &pChar ); g_print("Literal to Double value = %10,5g", strtod( (const char*) "3,14151692", &pChar ); ---- end on console I had: 3,00000 3,14152 My Operating System (Linux/Windows) is configured to use ',' (comma) like decimal point. I don't know how to inform strtod() to ignorate the locale of Operating System and convert using '.' like decimal point. I'm using g++ on Linux and Dev-C++ on Windows. Thanks. (o_o) Marcelo David _______________________________________________________ Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! http://br.mobile.yahoo.com/mailalertas/ _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list