Explore what CodeHS has to offer for districts, schools, and teachers.
Click on one of our programs below to get started coding in the sandbox!
View All
double is a Java type that represents a real number with decimal values.
double
For example, we can make double variables like this:
double cost = 19.99; double speed = 60.3;