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
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.