public static WriteCellData<?> formatToCellDataString(Number num, ExcelContentProperty contentProperty) {
        return new WriteCellData<>(format(num, contentProperty));
    }
format

@param num
@param contentProperty
@return
fastexcel-core/src/main/java/cn/idev/excel/util/NumberUtils.java