Mapping Toolbox
  Go to function:
    Search    Help Desk 
roundn    Examples   See Also

Round numbers at specified powers of 10

Syntax

Description

outnum = roundn(innum) rounds the elements of innum to the nearest one-hundredth.

outnum = roundn(innum,n) specifies the power of 10 to which the elements of innum are rounded. For example, if n = 2, round to the nearest hundred (102).

Examples

Using generated numbers, round them to significant tenths, ones, and tens figures (note that your original numbers could differ):

See Also

epsm
Map precision



[ Previous | Help Desk | Next ]