I think section 22.214.171.124 of the SDCC manual is relevant to you. It takes about the need to recompile one of the library modules (printf_large.c) with -DUSE_FLOATS=1 to enable float support in printf() related functions (which includes sprintf()).
If that's not the problem you might like to post a complete example with the command line arguments that are being used with SDCC. You might also need to explain how you know that "oo" shows the string ,No Float (as there is no output in your example).
I also notice your example has some typing errors and will not compile as it stands. It is usually best to use cut-and-paste rather than re-type examples manually as this helps avoid this type of error.
I hope this helps you.
On 5 Dec 2008, at 06:32, zhinan,Lee(htz) wrote: