Re: [Vala] How to convert a string to float ?



Ok ehm.. I've searched in the wrong place it seems... sorry. :)

Thanks






________________________________
From: "raum no-log org" <raum no-log org>
To: vala-list gnome org
Sent: Tuesday, 24 September 2013, 13:36
Subject: [Vala] How to convert a string to float ?


To convert a string to int : int.parse
ok, easy...

Try double.parse()

For more see https://wiki.gnome.org/Vala/Tutorial#Strings

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




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