© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
R. VystavělC# Programming for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-7147-6_12

12. Understanding Different Kinds of Numbers

Radek Vystavěl1  
Ondřejov, Czech Republic

In this chapter, you will study several more advanced topics concerning numbers and calculations, such as more numeric types, memory consumption, and overflow. If you do not need this much detail at this time, you can safely skip this chapter or just skim it.

More Numeric Types

You already know that there is a distinction between whole numbers and decimal numbers in computing. You use the int type for whole numbers, and you use the double type for decimal numbers.

But there are ...

Get C# Programming for Absolute Beginners: Learn to Think Like a Programmer and Start Writing Code now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.