Round function

Oscar Bayona Candel oscarbayonacandel at hotmail.com
Tue Feb 26 02:28:53 CST 2008


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¡¡¡¡
 
_________________________________________________________________
MSN Noticias
http://noticias.msn.es/comunidad.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080226/0b9bbf52/attachment.html 


More information about the Help-octave mailing list