@Override
    public WriteCellData<?> convertToExcelData(Boolean value, ExcelContentProperty contentProperty,
                                               GlobalConfiguration globalConfiguration) {
        if (value) {
            return new WriteCellData<>(BigDecimal.ONE);
        }
        return new WriteCellData<>(BigDecimal.ZERO);
    }
Boolean and number converter

@author Jiaju Zhuang
fastexcel-core/src/main/java/cn/idev/excel/converters/booleanconverter/BooleanNumberConverter.java