wahsaga:
Math.floor(dezimalzahl) liefert dir die zahl vor dem komma.
Das stimmt nur bei nichtnegativen Zahlen.
Was soll für -3.2 rauskommen: 0.2 oder -0.2 oder doch 0.8?
Gunnar
--
Good results come from experience; and experience comes from bad results.
Good results come from experience; and experience comes from bad results.