Numbers

Let’s learn about Dart's number types.

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:

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy