Rounding to two decimal places in Octave

octave, rounding

Solution

You can do:

res = round(100 * 37.073) / 100

Problem

After a calculation I got 32.073 .I need it to round to 32.07 using Octave.Please can somebody help me?

Original source

Related problems