grist/doc/format.md
2025-07-16 12:13:39 +08:00

46 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

快捷格式化
自动 就是不翻译,去掉文本格式化选项
1. 数字 0.0054870023452.46
2. 百分比 0.00%56.70%
3. 科学计数 ##E05.5E10
4. 会计 ¥(0.00):¥(54870023452.46)
5. 货币 ¥0.00¥54870023452.46
6. 万元 #,####,####548,7002,3452
7. 亿元 #,########548,70023452
8. 万元2位小数 #,####,####.00548,7002,3452.46
9. 日期 yyyy-MM-dd2022-11-29
10. 时间 hh:mm06:00
11. 时间24H HH:mm18:00
12. 日期时间 yyyy-MM-dd hh:mm2022-1-29 06:00
13. 日期时间24H yyyy-MM-dd HH:mm2022-01-29 18:00
更多货币格式: 规则是有多少位小数位数那么点号后面就有多少个0然后货币符号作为前缀如: $0.00
¥0.00 ¥54870023452.46
更多日期时间格式
1. yyyy-MM-dd2022-11-29
2. yyyy/MM/dd2022/11/29
3. yyyy年MM月dd2022年11月29
4. MM-dd01-29
5. M-d1-29
6. MM月dd日11月29日
7. HH:mm:ss18:00:26
8. HH:mm18:00
9. hh:mm:ss06:00:26
10. hh:mm06:00
11. h:mm:ss6:00:26
12. h:mm6:00
13. aa hh:mm上午/下午 06:00
14. aa h:mm:ss上午/下午 6:00:26
15. aa hh:mm:ss上午/下午 06:00:26
16. aa h:mm上午/下午 6:00
更多数字格式
移除 luckysheet 自带,增加一个弹出输入框,让用户自己输入格式化模式