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 MIT license.
%
%  Modified:
%
%    18 August 2018
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, N, the number of rows and columns.
%
%    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
