ffccvvtt() -- General Function (libc)

Convert floating-point numbers to strings
cchhaarr *
ffccvvtt(_d, _w, *_d_p, *_s_i_g_n_p)
ddoouubbllee _d; iinntt _w, *_d_p, *_s_i_g_n_p;

ffccvvtt()  converts floating  point numbers to  ASCII strings.   Its operation
resembles that of pprriinnttff()'s operator %ff.

ffccvvtt()  converts _d  into a  NUL-terminated string  of decimal  digits.  The
argument _w sets the precision of the string, i.e., the number of characters
to the right of the decimal point.

ffccvvtt()  rounds the  last digit  and returns  a pointer  to the  result.  On
return, ffccvvtt() sets  _d_p to point to an integer  that indicates the location
of the decimal point relative to  the beginning of the string: to the right
if positive, and to the left  if negative.  Finally, it sets _s_i_g_n_p to point
to an integer  that indicates the sign of _d:  zero if positive, and nonzero
if negative.  ffccvvtt() rounds the result to the FORTRAN F-format.

_E_x_a_m_p_l_e
For an example of this function, see the entry for eeccvvtt().

_S_e_e _A_l_s_o
lliibbcc

_N_o_t_e_s
ffccvvtt() performs conversions within static string buffers that it overwrites
on each execution.
