help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Round function


From: Michael Grossbach
Subject: Re: Round function
Date: Tue, 26 Feb 2008 09:50:36 +0100
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Oscar Bayona Candel wrote:
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? Thanks in advance¡¡¡¡

Use ceil(x)

HTH, Michael




reply via email to

[Prev in Thread] Current Thread [Next in Thread]