Numbers
Let’s learn about Dart's number types.
We'll cover the following...
We'll cover the following...
The num Type
If we want a variable that has a number value, we will declare it using the num data type.
The basic syntax is as follows:
Let’s look at an example.
Dart numbers are further divided into two subtypes:
- integers (
int)