%% Integer Format with Floating-Point Inputs
% Explicitly convert double-precision values to integers.

str = sprintf('%d',round(pi))

% Copyright 2015 The MathWorks, Inc.