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).
Hi,
hab folgendes zum Runden in der FAQ gefunden:
int d2i(double d){ return d<0?d-.5:d+.5;}
kann mir das mal jemand erklären?? Also was genau passiert in der return Zeile??
Wenn d<0 return d-0.5 sonst return d+0.5