Converts a floating point number to a string.
#include <prdtoa.h> void PR_cnvtf ( char *buf, PRIntn bufsz, PRIntn prcsn, PRFloat64 fval);
The function has these parameters:
bufbufszprcsnfvalPR_cnvtf is a simpler interface to convert a floating point number to a string. It conforms to the ECMA standard of Javascript (ECMAScript).
On return, the result is written to the buffer pointed to by buf of size bufsz.