Abstract
Whole numbers, such as 1, 2, 0, –1, –194, and so on, are known as integers. We have already used these as the row and column indexes for our tile patterns and also to define shades of gray. In this chapter, we will be seeing how to combine integers using the familiar arithmetical operators, plus some that you might not have seen before.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Lavers, T. (2021). Integers. In: Learn to Program with Kotlin. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6815-5_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-6815-5_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-6814-8
Online ISBN: 978-1-4842-6815-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)