View mode: basic / threaded / horizontal-split · Log in · Help
January 16, 2004
toString(float)
Is there a function, or what is considered the
best way, to convert a float to a char[]?

I know there is
toString(unit), but I dont see a function to
convert the float.

Phill.
January 20, 2004
Re: toString(float)
"Phill" <phill@pacific.net.au> wrote in message
news:bu7qjh$1v7h$1@digitaldaemon.com...
> Is there a function, or what is considered the
> best way, to convert a float to a char[]?
>
> I know there is
> toString(unit), but I dont see a function to
> convert the float.

At the moment, all there is is sprintf.
January 21, 2004
Re: toString(float)
Thanks!

"Walter" <walter@digitalmars.com> wrote in message
news:buk1bi$kos$1@digitaldaemon.com...
>
> "Phill" <phill@pacific.net.au> wrote in message
> news:bu7qjh$1v7h$1@digitaldaemon.com...
> > Is there a function, or what is considered the
> > best way, to convert a float to a char[]?
> >
> > I know there is
> > toString(unit), but I dont see a function to
> > convert the float.
>
> At the moment, all there is is sprintf.
>
>
Top | Discussion index | About this forum | D home