Introducing Numerical Data Types

In Go, we use numerical data types to represent numbers. Specifically, in this lesson, we're focusing on int and float64. The int data type represents whole integer numbers, and the float64 data type signifies decimal numbers — numbers with a decimal point.

The largest value an int can store depends on the system. It's 2322^{32} (2147483647) on a 32-bit system and 2642^{64} () on a 64-bit system.. Here's an example of using the number:

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal