public static String format(BigDecimal data, Short dataFormat, String dataFormatString,
        GlobalConfiguration globalConfiguration) {
        if (globalConfiguration == null) {
            return format(data, dataFormat, dataFormatString, null, null, null);
        }
        return format(data, dataFormat, dataFormatString, globalConfiguration.getUse1904windowing(),
            globalConfiguration.getLocale(), globalConfiguration.getUseScientificFormat());
    }
Format number data.

@param data
@param dataFormat          Not null.
@param dataFormatString
@param globalConfiguration
@return
fastexcel-core/src/main/java/cn/idev/excel/util/NumberDataFormatterUtils.java