[DGD]Formatting floats as strings

Felix A. Croes felix at dworkin.nl
Tue Jun 5 00:55:24 CEST 2001


Thomas Annandale <thomas at boredatheist.com> wrote:

> Is there an easy way to format floats into strings in dgd like you can
> using printf in C?
>
> If not, can someone send me the code that they've written for handling
> floats so that I don't have to write it from scratch?

There is an implementation of sprintf() in the archive at ftp.imaginary.com
which I think includes float formatting.

Regards,
Dworkin

List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list