www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/18/05:43:52

Date: Thu, 18 Jun 1998 10:01:50 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jonathan Villani <jonathan DOT villani AT videotron DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: float convertion
In-Reply-To: <JK0i1.4133$k%1.2693806@weber.videotron.net>
Message-ID: <Pine.SUN.3.91.980618100118.23552N-100000@is>
MIME-Version: 1.0

On Thu, 18 Jun 1998, 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???

fcvt is non-standard, and DJGPP doesn't have it.  Use sprintf instead.

- Raw text -


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