Dart floor() Method

In the Dart programming language, the floor() method returns the largest integer less than or equal to the number.

Dart ceil() Method

The ceil() method returns the nearest and smallest integer greater than or equal to the number.

Dart round() Method

The round() method converts the double value into an integer, and also it rounds up the value.

Dart toInt() Method

The toInt() method converts non-integer values into integers. It doesn’t accept any parameters and returns value with integer data type.