IRIS Toolbox Reference Manual

## round

Round tseries data to specified number of decimals

#### Syntax

    X = round(X)
    X = round(X,Dec)

#### Input arguments

- `X` [ tseries ] - Tseries object whose data will be rounded.

- `Dec` [ numeric ] - Number of decimals to which the tseries data will be rounded; if not specified, the data are rounded to nearest integer.

#### Output arguments

- `X` [ tseries ] - Rounded tseries object.

#### Description

The number of decimals, to which the tseries data will be rounded, can be positive, zero, or negative.

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.