function a = r8mat_nint ( m, n, a )

%*****************************************************************************80
%
%% r8mat_nint() rounds the entries of an R8MAT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 April 2005
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, N, the number of rows and columns of A.
%
%    real A(M,N), the matrix to be rounded.
%
%  Output:
%
%    real A(M,N), the rounded matrix.
%
  a(1:m,1:n) = round ( a(1:m,1:n) );

  return
end
