Re: convert an int variable into a gdouble
- From: "John Cupitt" <jcupitt gmail com>
 
- To: "ferri_marllo gva es" <ferri_marllo gva es>
 
- Cc: gtk-app-devel-list gnome org
 
- Subject: Re: convert an int variable into a gdouble
 
- Date: Fri, 29 Sep 2006 17:11:22 +0100
 
On 9/29/06, ferri_marllo gva es <ferri_marllo gva es> wrote:
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!!
You can just cast:
 int i = 42;
 gdouble gd;
 gd = i;
Unless I'm missing something?
John
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]