Top "Ceil" questions

A function common to many programming languages that returns the next integer value by rounding the value up if necessary.

How to ceil, floor and round bcmath numbers?

I need to mimic the exact functionality of the ceil(), floor() and round() functions on bcmath numbers, I've already found …

php rounding floor bcmath ceil
getting Ceil() of Decimal in python?

Is there a way to get the ceil of a high precision Decimal in python? >>> import decimal; &…

python decimal rounding ceil
Why Math.Ceiling returns double?

In C# the method Math.Ceiling returns a double value. Why does it not return int?

c# .net ceil
Getting the ceil value of a number in SQLite

So I see this question has a good answer, but I want to round up no matter what, instead of …

sql sqlite ceil
round,ceiling 2 decimal points

I want to round up some figures that have 2 decimals points to 1. However, I always want it to round 1 examples …

sql sql-server rounding ceil
Why is Math.ceil not rounding upwards?

I have the following code: int total = 6; int perPage = 5; double pages = total/perPage; double ceilPages = Math.ceil(pages); out.println(…

java math ceil