Weirdness in math.floor

project width is 500

tile_width=25;
map_collumns=Stage.width/tile_width
trace(map_collumns)

Sometimes I get a decimal return. Then, when I close it,and run it again, it shows the correct answer.
Why is this?