SYNOPSIS
#include <stdlib.h>
char *ecvt(double value, int ndigit, int *decpt, int *sign);
DESCRIPTION
The
If the converted value is out of range or is not representable, the contents of the returned string are unspecified.
PARAMETERS
- value
-
Is the floating-point number to be converted.
- ndigit
-
Specifies the number of digits after decimal point.
- decpt
-
Is the return pointer to the decimal point position.
- sign
-
Is the return pointer to sign indicator.
RETURN VALUES
The
CONFORMANCE
UNIX 98.
MULTITHREAD SAFETY LEVEL
Unsafe.
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
MKS Toolkit 9.3 Documentation Build 6.