Skip to content

feat(ExcelNumberFormat): extend the SectionType - #716

Merged
shps951023 merged 4 commits into
mini-software:masterfrom
izanhzh:feat-number-format
Jan 23, 2025
Merged

feat(ExcelNumberFormat): extend the SectionType#716
shps951023 merged 4 commits into
mini-software:masterfrom
izanhzh:feat-number-format

Conversation

@izanhzh

@izanhzh izanhzh commented Jan 23, 2025

Copy link
Copy Markdown
Member

close: #714

目前我们自定义format只对时间格式做了支持,此PR扩展支持对数字自定义format进行支持,这样就不会在数字格式化后变成字符串单元格了

Excel无法支持N2这种format,可以使用#.00这样的format

@izanhzh
izanhzh requested a review from shps951023 January 23, 2025 07:21
Signed-off-by: Wei Lin <shps951002@gmail.com>
@shps951023
shps951023 merged commit 0688fda into mini-software:master Jan 23, 2025
@izanhzh
izanhzh deleted the feat-number-format branch February 6, 2025 00:18
pull Bot pushed a commit to zilo555/MiniExcel that referenced this pull request Aug 29, 2026
* feat(ExcelNumberFormat): extend the SectionType

* cancel the missubmit code

* Update SheetStyleBuildContext.cs

Signed-off-by: Wei Lin <shps951002@gmail.com>

---------

Signed-off-by: Wei Lin <shps951002@gmail.com>
Co-authored-by: Wei Lin <shps951002@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting format string on numeric column changes horizontal alignment from right to left

2 participants