[aclug-L] Re: c problems float to string
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
use sprintf() function for that.
-----Original Message-----
From: discussion-bounce@xxxxxxxxx [mailto:discussion-bounce@xxxxxxxxx]On
Behalf Of oceano
Sent: Friday, March 23, 2001 2:52 PM
To: discussion@xxxxxxxxx
Subject: [aclug-L] c problems float to string
I'm designing a GUI using GTK+ and C via gcc. I have hit a snag in not
being able to convert a float value to a character string. There are
simple functions to go from string or character to float which I use but
not the other way around? Can anyone help or will I have to suffer?
I would like to convert say, 123.0 to a string "123.0".
-- This is the discussion@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
-- This is the discussion@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
|
|