Thread overview |
---|
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) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Phill | "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) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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. > > |
Copyright © 1999-2021 by the D Language Foundation