string to real conversion losing data

jicman cabrera_ at _wrc.xerox.com
Thu Apr 8 17:35:08 PDT 2010


wrzosk Wrote:

> W dniu 08.04.2010 23:02, jicman pisze:
> >
> 
> it is looking ok to me, try this one and thing why it is like that :)
> 
> 
> import std.stdio;
> import std.conv;
> 
> void main()
> {
> 	writefln(17744.06);
> }

Ok, I'll bite... I don't get it.  does that mean that writefln is buggy?  How can I format and write this to a file?  Is there a formatting library?

thanks,

jose 



More information about the Digitalmars-d-learn mailing list