[Top][All Lists]

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

[sr #110722] Round function output options

From: Faith
Subject: [sr #110722] Round function output options
Date: Thu, 15 Sep 2022 03:11:17 -0400 (EDT)


                 Summary: Round function output options
                 Project: Savannah Administration
               Submitter: coleman
               Submitted: Thu 15 Sep 2022 07:11:15 AM UTC
                Category: Savannah trackers - bugs, tasks, etc.
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
             Assigned to: None
        Originator Email:
        Operating System: Microsoft Windows
             Open/Closed: Open
         Discussion Lock: Any


Follow-up Comments:

Date: Thu 15 Sep 2022 07:11:15 AM UTC By: Faith <coleman>
Is it possible with Ocatave to obtain something similar to what is possible
with the round function from Matlab, that allows specifying the N digits to
the right of the decimal point?
Using Matlab round, e.g., with N = 2:
Y = round(2.5132,2)
Y = 2.5100
I have seen that Octave round function only allows rounding to the nearest


Reply to this item at:


Message sent via Savannah

reply via email to

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