add to_fixed utility