www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/18/15:47:50

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: float convertion
Date: Wed, 17 Jun 1998 23:04:54 -0700
Organization: Alcyone Systems
Lines: 21
Message-ID: <3588AE06.109BEBEB@alcyone.com>
References: <JK0i1.4133$k%1 DOT 2693806 AT weber DOT videotron DOT net>
NNTP-Posting-Host: kamali.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jonathan Villani wrote:

> Hi! I am currently programming 3d stuff and I would like to know how
> to
> convert a float to a string. I know that in Borland C there was a
> function
> called fcvt. In DJGPP, I don't know if it is possible???

There is no separate ANSI function for this.  Just use sprintf.

> I anyone can help please email me at: jonathan DOT villani AT videotron DOT ca

[Posted and emailed.]

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm:+37.20.07/-121.53.38
                                     \
           She glanced at her watch / . . . It was 9:23.
                                   / James Clavell

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019