2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
5 POSIX.1-2001 function gcvt().
6 Function is deprecated and removed from POSIX.1-2008
11 /*****************************************************************************
25 Converts a number to a minimal length NULL terminated ASCII string.
26 It produces ndigit significant digits in either printf F format or
30 number - The number to convert.
31 ndigits - The number of significan digits that the string has to have.
32 buf - The buffer that will contain the result string.
35 The address of the string pointed to by buf.
44 ecvt(), fcvt(), sprintf()
48 ******************************************************************************/
50 sprintf (buf
, "%.*G", ndigit
, number
);