[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


_gvct

This function converts a floating point value to a null terminated char string.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <extras.h>
char *_gcvt(double value, 
  int digits, char *buffer);
Parameters:

Parameters for this function are:

value  
double  
The floating point value to be converted into a string  
digits  
int  
The number of significant digits to converted  
buffer  
char *  
The string to hold the converted floating point value  

Remarks :

The resultant string includes the decimal point and sign of the original value.

Return:

This function returns a pointer to the buffer argument.

See Also:

"atof,"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000