Floats and Integers
When it comes to numbers, choose between floats and integers.
When to use
Use floats or integers depending on what you're trying to accomplish.
Floats are decimals, like 19.95
Integers are whole numbers, like 12 or 41
Hints & tips
- Floats use decimals
- Integers are whole numbers
Lesson notes are only available for subscribers.