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

Android Build a Weather App (2015) Exploring an API Introducing Stormy

'double'?

Hello,

On the second challenge of this video, it asked me to make mPrecipChance a 'double' variable. I wasn't sure what it meant so I decided to type 'double' after 'private when declaring the variable...and It passed?

I don't recall learning about the 'double' deceleration, so could someone please explain?

Thanks!

The double variable can hold large numbers. The double variable is also used to hold floating point values. A floating point value is one like 9.7, 12.8, 16.1. In other words, it has a "point something" at the end.