[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Round function
From: |
Søren Hauberg |
Subject: |
Re: Round function |
Date: |
Tue, 26 Feb 2008 09:40:48 +0100 |
tir, 26 02 2008 kl. 09:28 +0100, skrev Oscar Bayona Candel:
> Hi all
>
> I´m trying to use the function round to obtain the nearest number like
> this:
>
> so round(4.7)=5 and round(4.2)=4
>
> What I want is to use (if exists) the round figure but always to the
> next high number so
>
> roundxxx(4.2)=5....exists any function "roundxxx" I mean similar to
> round that applied gives the next round (high) number?
That would be the 'ceil' function. When you want the opposite use the
'floor' function.
Søren
- Round function, Oscar Bayona Candel, 2008/02/26
- Re: Round function,
Søren Hauberg <=
- Re: Round function, Michael Grossbach, 2008/02/26
- Re: Round function, Michael Goffioul, 2008/02/26
- Re: Round function, Archambault Fabien, 2008/02/26
- Re: Round function, Francesco Potorti`, 2008/02/26
- Re: Round function, Avraham Rosenberg, 2008/02/26