http://www.php.net/manual/en/function.ceil.php
- Original Message -
From: "Brandon Orther" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 2:19 PM
Subject: [PHP] Rounding a number up
> Is there a way to round a number to the next whole numb
On Mon, 17 Jan 2000, Brandon Orther wrote:
> Hello,
>
> I am doing a math function where I divide one number by another. I want it
> to give me a whole number though, and if it is anything above a number I
> want it to go to the next one up.
>
> Example:
>
> 4.0001 would equal 5
>
> 3.98 would
2 matches
Mail list logo