On Tue, Aug 10, 2010 at 11:22 AM, Issa <frechdes...@gmail.com> wrote:
> i have take the code exemple on the documentation and i m just trying to
> "concatene" a double to a string.
> i have this
> double val = 40.56;
>  char *s1 = " Mo";
>
> and for the final i want this
> 40.56 MO

This is not the result you will get with eina_convert something like
"0x0.8p+0", that you could concatenate with "Mo". Not really what you
are looking for I think :-)

Better just do a snprintf(buf, sizeof (buf), "%f Mo", val); This will
do the job you are looking for I think.
-- 
Cedric BAIL

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to