it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

需要一款数字转换成中文的数字大写的。比如1转成壹 用于发票填写用。

Open luoruowen opened this issue 2 years ago • 6 comments

需要一款数字转换成中文的数字大写的。比如1转成壹 用于发票填写用。

luoruowen avatar Feb 20 '24 02:02 luoruowen

这个需求的工具是特定于中文语言的,在其他语言中不可用。我不确定 CorentinTh/it-tools 是否会开发它(大多是不可能的)。

不过有个好消息,我有一个 此仓库的分叉 angelofan/it-tools-zh_CN ,它新增了“人民币大写转换器”,可以在这里预览或使用:https://it-tools.haokudelei.com/rmb-d

如果有人想要将此工具向 CorentinTh/it-tools 提交PR,可以参考我的代码:https://github.com/angelofan/it-tools-zh_CN/commit/6297c10cb0e51980944e8accd0734545636ae7e3


This required tool is specific to the Chinese language and is not available in other languages. I'm not sure if CorentinTh/it-tools will develop it (mostly unlikely).

But there is good news, I have a fork of this repository named angelofan/it-tools-zh_CN, which adds the "RMB uppercase converter" ”, which can be previewed or used here: https://it-tools.haokudelei.com/rmb-d

If anyone wants to submit a PR for this tool to CorentinTh/it-tools, you can refer to my code: https://github.com/angelofan/it-tools-zh_CN/commit/6297c10cb0e51980944e8accd0734545636ae7e3

angelofan avatar Feb 22 '24 01:02 angelofan

搜狗输入法,中文状态按V然后按数字。 比如 3200元 中文状态下 键盘按 v3200.00 比如3212.12元, 中文状态下 键盘按 v3212.12 输入小数点后两位会直接出现人民币。 像这样:叁仟贰佰元整 叁仟贰佰壹拾贰元壹角贰分 如果不输入小数点则直接转换 想这样:叁仟贰佰 叁仟贰佰壹拾贰

sumingyd avatar Feb 23 '24 08:02 sumingyd

哦.知道了,谢谢 

luoruowen @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年2月23日(星期五) 下午4:04 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [CorentinTh/it-tools] 需要一款数字转换成中文的数字大写的。比如1转成壹 用于发票填写用。 (Issue #891)

搜狗输入法,中文状态按V然后按数字。 比如 3200元 中文状态下 键盘按 v3200.00

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

luoruowen avatar Mar 19 '24 14:03 luoruowen

搜狗输入法,中文状态按V然后按数字。 比如 3200元 中文状态下 键盘按 v3200.00 比如3212.12元, 中文状态下 键盘按 v3212.12 输入小数点后两位会直接出现人民币。 像这样:叁仟贰佰元整 叁仟贰佰壹拾贰元壹角贰分 如果不输入小数点则直接转换 想这样:叁仟贰佰 叁仟贰佰壹拾贰

谢谢,十分的有用啊!

xingxingcan avatar Apr 17 '24 03:04 xingxingcan

搜狗输入法,中文状态按V然后按数字。 比如 3200元 中文状态下 键盘按 v3200.00 比如3212.12元, 中文状态下 键盘按 v3212.12 输入小数点后两位会直接出现人民币。 像这样:叁仟贰佰元整 叁仟贰佰壹拾贰元壹角贰分 如果不输入小数点则直接转换 想这样:叁仟贰佰 叁仟贰佰壹拾贰

谢谢,十分的有用啊!

v模式同样适用于 简单的算式计算 这是说明 哦 网址发不出来 按了V会有一个说明 自己点进去看说明就行

sumingyd avatar Apr 17 '24 03:04 sumingyd

Hi @luoruowen, @angelofan and @CorentinTh, could be interesting, made an implementation based on yours in #1032

sharevb avatar May 01 '24 21:05 sharevb