public static String format(BigDecimal data, Short dataFormat, String dataFormatString, Boolean use1904windowing,
        Locale locale, Boolean useScientificFormat) {
        DataFormatter dataFormatter = DATA_FORMATTER_THREAD_LOCAL.get();
        if (dataFormatter == null) {
            dataFormatter = new DataFormatter(use1904windowing, locale, useScientificFormat);
            DATA_FORMATTER_THREAD_LOCAL.set(dataFormatter);
        }
        return dataFormatter.format(data, dataFormat, dataFormatString);
    }
Format number data.

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