In the Dart programming language, the floor() method returns the largest integer less than or equal to the number.
The ceil() method returns the nearest and smallest integer greater than or equal to the number.
The round() method converts the double value into an integer, and also it rounds up the value.
The toInt() method converts non-integer values into integers. It doesn’t accept any parameters and returns value with integer data type.