- Learn Python in 7 Days
- Mohit Bhaskar N. Das
- 76字
- 2025-04-04 19:20:06
Floating point numbers
Numbers with certain places after the decimal point are referred to as floating point numbers in the programming language:
- The floating point number type ranges approximately from -10 to 10^308 and has 16 digits of precision.
- There are two ways to write a floating point number. It can be written using ordinary decimal notation or scientific notation. Scientific notation is often useful for mentioning very large numbers, as shown in the following screenshot:
