Numeric Data Types and Notations
Learn about numeric data types and notations.
We'll cover the following...
In the last chapter, we learned all about strings. Now it’s time to learn about numbers.
Integers and floats
Numbers can be classified into various types.
Numbers can be integers, which are whole numbers, such as , , or .
Press + to interact
Numbers can also be floating-point numbers–often referred to as just reals, decimals, or floats. These include all numbers that have fractional or decimal parts, such as ...