Round down number

David Doria daviddoria at gmail.com
Mon Feb 16 14:32:07 CST 2009


You can use the floor() function.


Thanks,

David



On Mon, Feb 16, 2009 at 3:22 PM, Adriana Cardozo <abustillos at cardozo.com> wrote:
>
> Hello!!
>
> i would like to know with function can I use to round down a number to the
> nearest integer? I got a result equal to 1.9, and need to round it to 1.
>
> Thanks for your help,
>
> Adriana
> --
> View this message in context: http://www.nabble.com/Round-down-number-tp22045055p22045055.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>


More information about the Help-octave mailing list