On Fri, 2006-09-29 at 10:15 +0200, [EMAIL PROTECTED] wrote:
> 
> Hi everyone!!
> i'm building an application,and i need to convert an int variable into a 
> gdouble
> to can use some plotting functions.
> I don't know how to do it!!
> can you help me??
> thanks

>From int to gdouble ???

gdouble d;
int i = 3;

d = (gdouble) i;

or

d = i;

A gdouble doubles in size an int ... so, what's the problem ?
-- 
Iago Rubio

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to