Convert a string of a float number into a string

Convert a string of a float number into a string

Name Type Default Description
Return float   float value of the string s
s char* - float number string. The number must be point ('.') or comma (',') separated. No delimiters are allowed between the 1000s.
int main ()
{
    showmessage ("12.3 : '%s'", ftoa (12.3));
    showmessage ("12.3 mit %%g: '%s'", ftoa (12.3, "%g"));
    showmessage ("12.34567 mit %%.4g: '%s'", ftoa (12.34567, "%.4g"));
    showmessage ("12.3 mit %%.04f: '%s'", ftoa (12.3, "%.04f"));
    return 0;
}

Since
Version 2.0 R 634, 21. March 2008

Available
priint:comet InDesign® Plug-Ins, comet_pdf, Illustrator

See Also
ftoa

Alphabetic index HTML hierarchy of classes or Java