You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: round.m
    path of file: ./repos/matStats/matStats/@Table
    
    the code of the file until where you have to start completion: function res = round(obj)
% Round values in the table.
%
%   RES = round(TAB)
%   Returns a new table with rounded values.
%
%   Example
%     iris = Table.read('fisherIris.txt');
%     round(iris(1:3, 1:4))
%     ans =
%              SepalLength    SepalWidth    PetalLength    PetalWidth
%         1              5             4              1             0
%         2              5             3              1             0
%         3              5             3              1             0
%
%   See also
%     ceil, floor

    
function res = round(obj)
% Round values in the table.
%
%   RES = round(TAB)
%   Returns a new table with rounded values.
%
%   Example
%     iris = Table.read('fisherIris.txt');
%     round(iris(1:3, 1:4))
%     ans =
%              SepalLength    SepalWidth    PetalLength    PetalWidth
%         1              5             4              1             0
%         2              5             3              1             0
%         3              5             3              1             0
%
%   See also
%     ceil, floor
%

% ------
% Author: David Legland
% e-mail: david.legland@inra.fr
% Created: 2012-04-20,    using Matlab 7.9.0.529 (R2009b)
% Copyright 2012 INRA - Cepia Software Platform.

if hasFactors(obj)
    error('Can not round table with factors');
end