function value = i4mat_is_integer ( m, n, a )

%*****************************************************************************80
%
%% I4MAT_IS_INTEGER is TRUE if all entries of an I4MAT are integer.
%
%  Discussion:
%
%    An I4MAT is an MxN array of I4's.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    18 August 2018
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer M, N, the number of rows and columns.
%
%    Input, integer A(M,N), the array.
%
%    Output, logical VALUE, is true if all entries are integer.
%
  value = all ( a(1:m,1:n) == round ( a(1:m,1:n) ) );

  return
end
