11 lines
193 B
C
11 lines
193 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
char buffer[80];
|
||
|
|
||
|
printf( "%s\n", gcvt( -123.456789, 5, buffer ) );
|
||
|
printf( "%s\n", gcvt( 123.456789E+12, 5, buffer ) );
|
||
|
}
|