function [status] = pb_get_rounded_value()
% FUNCTION NAME:
%   pb_get_rounded_value
%
% DESCRIPTION:
%   Many parameters to funciton in the API are given as full precision double 
%   values, such as the length of an instruction, or the phase to be programmed 
%   to a phase register. Since the hardware does not have the full precision of 
%   a double value, the paremeters are rounded to match the internal precision. 
%   This function allows you to see what to what value the parameters were rounded.
%
% INPUTS:
%
% OUTPUTS:
%   status - The last value rounded by the API.
%
% $Revision: R2017a$ 
% $Author: SpinCore Technologies, Inc.$
% $Date: November 17, 2023$
% ------------------------------------------------------------------------------

global SPINAPI_DLL_NAME;

status = calllib(SPINAPI_DLL_NAME, 'pb_get_rounded_value');

end