ceil
Round value up
ceil(x);
will return the value of the number rounded up. There is no custom return_type, the function always returns an integer.
ceil(5.7); //6
ceil(-4.2); //-4
Last updated
ceil(x);
will return the value of the number rounded up. There is no custom return_type, the function always returns an integer.
ceil(5.7); //6
ceil(-4.2); //-4
Last updated