© 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  
(1)
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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.