sprintf with floats

2004-10-10
2013-03-12
  • because the sprintf for the z80 version only supports int variables, I wrote a sprintf, which includes float variables too.
    It is written complete in C and therefore you can use it for all types of processors.
    I_m new in sourceforge I don't find any possibility to send my code to you. Please tell me, how I can do this, if you are interested.
    The sprintf() supports all the usual formats, like "%3.2f", "3.3g" and so on, but it doesn't support "\n", "\t"...
    To show the difference, my sprintf-version is named as "sprintff".

     
    • tip:

      you can find and download the source in "patches"

      Wilfried Grueger