Welcome to the Treehouse Community
Looking to learn something new?
it won't budge
nothing works. please help
var temperature = 37.5; Math.round(temperature);
Adam Beer11,313 Points
Now doesn't working, becuse you don't save Math.round() in the new variable. But the good way here, you put Math.round() into the temperature varible, in the second row use alert() dialog and put inside the variable name. I hope you can solve the second task! :)
Simply pass your rounded temperature to the alert method.
Let me know if this helps here
part 1 answer alert(Math.round(temperature));
part 2 answer var temperature = 37.5; alert(Math.round(temperature)); alert(Math.floor(temperature));