RE: [gtk-list] Converting a string to a float.



Hi,

Try using g_snprintf (). It can convert your float to a string just like
printf does.

regards,

Arjan


> -----Original Message-----
> From: Chris Phelps [mailto:chicane@reninet.com]
> Sent: Thursday, October 21, 1999 5:45 AM
> To: gtk-list@redhat.com
> Subject: [gtk-list] Converting a string to a float.
> 
> 
>     I am currently working on a school project which requires 
> me to use
> a Clist with numbers. Are there any functions that will allow me to
> insert numbers directly into a clist? Would I be better off 
> just writing
> a conversion routine of my own? Any input would be appreciated.
> Later,
> Chicane
> 
> -- 
> To unsubscribe: mail -s unsubscribe 
> gtk-list-request@redhat.com < /dev/null
> 



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