public static Class nonePrimitive(Class type) {
        if (type.isPrimitive()) {
            String name = type.getName();
            switch (name) {
                case "byte":
                    return Byte.class;
                case "short":
                    return Short.class;
                case "int":
                    return Integer.class;
                case "long":
                    return Long.class;
                case "float":
                    return Float.class;
                case "double":
                    return Double.class;
                case "char":
                    return Character.class;
                case "boolean":
                    return Boolean.class;
                default:
                    break;
            }
        }
        return type;
    }
decimal is integer, check has non-zero small

@param decimal
@return
core/src/main/java/com/alibaba/fastjson2/util/TypeUtils.java