Merge Double type and Integer type.