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.