Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Wie kann ich eine double-Zahl mit beliebig vielen Nachkommastellen mit c++ korrekt auf beispielsweise die dritte Nachkommastelle runden?
Das geht so:
double x; printf("%.3lf",x);
so http://www.c-plusplus.net/forum/viewtopic.php?t=39342