mainSavannah Administration - Support: sr #110722, Round function output options

 
 

sr #110722: Round function output options

Submitter:  Faith <coleman>
Submitted:  Thu 15 Sep 2022 07:11:15 AM UTC
   
 
Category:  Savannah trackers - bugs, tasks, etc. Priority:  5 - Normal
Severity:  3 - Normal Status:  Invalid
Privacy:  Public Assigned to:  ineiev
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 15 Sep 2022 06:48:08 PM UTC, comment #1: 

You've reached Savannah administration support tracker.  We help with using the forge rather than specific packages.  Please re-submit your request in the right tracker.

Ineiev <ineiev>
Site Administrator
Thu 15 Sep 2022 07:11:15 AM UTC, original submission:  

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.

Faith <coleman>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ineiev (Posted a comment)
  • -email is unavailable- added by coleman (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-15 ineiev StatusNone Invalid
        Assigned toNone ineiev
        Operating SystemMicrosoft Windows None
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code