ecvt, fcvt, gcvt \- output conversion
.B char *ecvt(value, ndigit, decpt, sign)
.B int ndigit, *decpt, *sign;
.B char *fcvt(value, ndigit, decpt, sign)
.B int ndigit, *decpt, *sign;
.B char *gcvt(value, ndigit, buf)
to a null-terminated string of
and returns a pointer thereto.
The position of the decimal point relative to the
beginning of the string is stored indirectly
(negative means to the left of the
If the sign of the result is negative,
The low-order digit is rounded.
.IR Fcvt " is identical to " "ecvt\fR, except that the correct digit"
has been rounded for Fortran F-format output of the number
to a null-terminated ASCII string in
significant digits in Fortran F format if
possible, otherwise E format, ready for
Trailing zeros may be suppressed.
The return values point to static data
whose content is overwritten by each call.