## Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

### Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

i cant seem to understand this . i am rounding an integer 38 downwards to the floor . temperature holds the interger 38 . Wont this be the way to round it down and alert it?

script.js
```var temperature = 37.5;
temperature=Math.round(temperature);
temperature=Math.floor(temperature);
```
index.html
```<!DOCTYPE HTML>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JavaScript Basics</title>
<body>
<script src="script.js"></script>
</body>
</html>
```

Hello Ashton,

You can't store the result of using Math.round or Math.floor because if you do, you change the original value of temperature. `temperature` becomes 38 after the first conversion. And then running `Math.floor` on it will keep it at 38, when that shouldn't be the case.

You only need to alert each Math method being used on the variable `temperature`

```var temperature = 37.5
```

thank you!! i understand now

after getting the right code here,..

var temperature = 37.5; temperature=Math.round(temperature); alert(temperature);

which the answer was 38 . they told me to

Open an alert dialog a second time and display the temperature variable rounded downward to the nearest integer (hint: down is toward the "floor".)

Hi Ashton,