[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) |
URL:
<https://savannah.nongnu.org/support/?110722>
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: ftordini1976@gmail.com
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
integer.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/support/?110722>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [sr #110722] Round function output options,
Faith <=