Walter Bright Wrote:

> Fabian Claßen wrote:
> >     double zahl = add(1, 5.6, 41, "Hello");
> >     writefln("%d", zahl);
> [...]
> > 
> > When I try to run this codes there is printed following message in the cmd:
> > 
> > Error: std.format floating
> > 
> > Please help me. I have no idea.
> 
> 
> %d is for integral arguments, not floating point ones. Try %s.

Thank you.
Now does the code works. :D
Amazing *lol
I love the D programming language

Reply via email to