fixed: rest api bug when a user creat a contenttype with 0 as min or max value for a float or integer

EZP-22098 fixed CS