Converts a floating point number to a string.
The function has these parameters:
- The address of the buffer in which to store the result.
- The size of the buffer provided to hold the result.
- The number of digits of precision to which to generate the floating point value.
- The double-precision floating point number to be converted.
On return, the result is written to the buffer pointed to by
buf of size