Rory Conolly
2018-11-16 13:40:50 UTC
The round function in Octave rounds to the nearest integer while round in MATLAB supports rounding to arbitrary precision:
round(x,n) rounds x to n decimal places.
This is just a suggestion/request that it would be handy for the Octave function to work like the equivalent MATLAB function. This capability can be important when needing to compare numbers using == when numerical noise can cause problems.
Sent from my iPhone
round(x,n) rounds x to n decimal places.
This is just a suggestion/request that it would be handy for the Octave function to work like the equivalent MATLAB function. This capability can be important when needing to compare numbers using == when numerical noise can cause problems.
Sent from my iPhone