# Math.floor Simple Question

**URL:** <https://forum.kirupa.com/t/math-floor-simple-question/222781>\
**Category:** Uncategorized\
**Created:** [April 16, 2007, 10:30pm UTC](https://forum.kirupa.com/t/math-floor-simple-question/222781 "2007-04-16T22:30:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lacohido](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@lacohido](https://forum.kirupa.com/u/lacohido)\
**Post date:** [April 16, 2007, 10:30pm UTC](https://forum.kirupa.com/t/math-floor-simple-question/222781/1 "2007-04-16T22:30:19Z")

</div>

Hi Again-  
For some reason my math.floor function is not working (trace yields “undefined”)… Im sure its something simple, but Im not seeing it. Suggestions??? Thanks!!!

[AS]  
thumbNum = 26;  
total = thumbNum \* 200;  
wholeSteps = math.floor(total/600);

trace (wholeSteps);  
[/AS]
