I found that in Actionscript2, if Math.round
does work when I do Math.round(7.5)
and it gives me 8
,
but if I have an math expression which has a value 7.5
and apply Math.round
to it, like:
Math.round(value * 10)
(here value is 0.75),
instead of giving me 8
, it gives me 7
Anyone know what exactly happened to it?
Thanks in advance!