Zitat:
Original geschrieben von Tarjan
Warum verwendet ihr nicht die Math.round() Funktion? Die ist für das geschrieben worden:
doubleZahl = ((double)Math.round(doubleZahl * 100)) / 100
|
stimmt, simpler dürfte es wohl nicht mehr gehen.
____________________________________
"Life is like a box of rockets," said the Marine. "You never know what you´re gonna ret."
Then he pulled the trigger of his BFG9000.
|