In this guide, we will discuss ceil Method in Dart Programming Language. This property returns the ceiling value, that is the smallest integer greater than or equal to a number.
Syntax
Number.ceil()
Example
void main() { var a = 2.4; print("The ceiling value of 2.4 = ${a.ceil()}"); }
It will produce the following output −.
The ceiling value of 2.4 = 3
Next Topic : Click Here
Pingback: Dart Programming - Abs Method | Adglob Infosystem Pvt Ltd
Pingback: Dart Programming - Numbers | Adglob Infosystem Pvt Ltd