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.

Start your free trial

JavaScript

Desmond Dallas
Desmond Dallas
6,985 Points

Help please

Can someone please give me clarity on this as I'm a little confused

Please fill in the correct answer in each blank provided below. Math. ( 5 / 2)

2 Answers

Valeshan Naidoo
Valeshan Naidoo
27,008 Points

Not sure which course you're doing or anything, but you can try Math.floor or Math.ceil, there's may be a few other things you can try to put in there, depends what you want the output to be. Math.floor if you want to round down the answer to the lowest whole number(integer) or Math.ceil to round up to the highest integer.

Desmond Dallas
Desmond Dallas
6,985 Points

Thanks, I figured it out.., Javascript by the way