delorie.com/djgpp/doc/libc/libc_310.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

fcvt

Syntax

 
#include <stdlib.h>

char * fcvt (double value, int ndigits, int *decpt, int *sign)

Description

This function converts the value into a null-terminated string, and returns a pointer to that string.

fcvt works exactly like fcvtbuf (see section fcvtbuf), except that it generates the string in an internal static buffer which is overwritten on each call.

Return Value

A pointer to the generated string.

Portability

ANSI/ISO C No
POSIX No


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004