2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
5 ANSI C function gcvt().
10 /*****************************************************************************
24 Converts a number to a minimal length NULL terminated ASCII string.
25 It produces ndigit significant digits in either printf F format or
29 number - The number to convert.
30 ndigits - The number of significan digits that the string has to have.
31 buf - The buffer that will contain the result string.
34 The address of the string pointed to by buf.
43 ecvt(), fcvt(), sprintf()
47 ******************************************************************************/
49 sprintf (buf
, "%.*G", ndigit
, number
);