Converts a value to a character string.
#include <stdlib.h> char *ecvt (double value, int count, int *dec, int *sign);
value 
count 
dec 
sign 
| 0 | Positive. | 
| Not 0 | Negative. | 
Only digits are stored in the string. If the number of digits in value exceeds count, the low-order digit is rounded. If there are fewer than count digits, the string is padded with 0s.
Obtain the position of the decimal point and the sign of value from dec and sign after the call.
This function uses a single statically allocated buffer for the conversion. Subsequent calls overwrite the result.
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/stdlib.h (or) intime/rt/include/math.h  | 
stdlib.h (or) math.h  | 
clib.lib |