Re: convert an int variable into a gdouble
- From: Iago Rubio <iago iagorubio com>
- To: gtk-app-devel-list gnome org
- Subject: Re: convert an int variable into a gdouble
- Date: Fri, 29 Sep 2006 18:37:10 +0200
On Fri, 2006-09-29 at 10:15 +0200, ferri_marllo gva es 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]