X = round(X)
X = round(X,Dec)
X = round(X,Dec,'significant')
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.
'significant' - See documentation on the built-in Matlab function round; works only in R2014b or later.
X [ tseries ] - Rounded tseries object.The number of decimals, to which the tseries data will be rounded, can be positive, zero, or negative.