X = round(X)
X = round(X,Dec)
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.
X
[ tseries ] - Rounded tseries object.The number of decimals, to which the tseries data will be rounded, can be positive, zero, or negative.