verstehe ich nicht, verfolg das doch mal:
zahl * 100 ergibt 123456.789
dann machst daraus nen integer, wird also 123456
dann +5, also 123461
dann machst ein double daraus, also 123461.0
und dann /100, also 1234.61
stimmt aber nicht, es sollte 1234.57 rauskommen, das wäre korrekt auf 2 stellen gerunden.
____________________________________
"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.
|