Re: How to convert Glib::ustring to float or double



It is the same as a regular string, treat it as so.

You can also use the usting::c_str() to access the underlying C-style string to pass to atoX methods.

Cheers,
Kevin

On Tue, Aug 14, 2012 at 3:23 PM, Rodrigo Nunes <rnsribeiro gmail com> wrote:
How to convert Glib::ustring to float or double, could someone pass me an example?

thank you.

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




--
Kevin Brightwell
Year 4 Bachelor of Computer Engineering (BESc.)
Year 3 Bachelor of Computer Science (BSc.)

Residence Don - Saugeen-Maitland Hall
Western University www.westernu.ca
e. kevin brightwell2 gmail com c. 226.678.4927



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