# Math.round() or Math.random()

**URL:** <https://forum.kirupa.com/t/math-round-or-math-random/180589>\
**Category:** flash\
**Created:** [March 1, 2006, 7:20pm UTC](https://forum.kirupa.com/t/math-round-or-math-random/180589 "2006-03-01T19:20:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kungFuChris](https://avatars.discourse-cdn.com/v4/letter/k/a3d4f5/32.png) [@kungFuChris](https://forum.kirupa.com/u/kungFuChris)\
**Post date:** [March 1, 2006, 7:20pm UTC](https://forum.kirupa.com/t/math-round-or-math-random/180589/1 "2006-03-01T19:20:40Z")

</div>

Is it better to use Math.round() or Math.random() reason I am asking I think I read somehwere that one was better. My problem is that I have a number of movie clips that are attach dynamically. They move randomly on the stage but for some reason they just stop moving randomly… I think there was a post somehwere about that but cannot seem to find it.
