Updated float/int cast methods