Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
luoruowen opened this issue Feb 20, 2024 · 6 comments · May be fixed by #1032
Open
Assignees
Labels

Comments

@luoruowen
Copy link

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

@angelofan
Copy link

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

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

如果有人想要将此工具向 CorentinTh/it-tools 提交PR,可以参考我的代码:angelofan@6297c10


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: angelofan@6297c10

@sumingyd
Copy link

sumingyd commented Feb 23, 2024

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

@luoruowen
Copy link
Author

luoruowen commented Mar 19, 2024 via email

@xingxingcan
Copy link

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

谢谢,十分的有用啊!

@sumingyd
Copy link

sumingyd commented Apr 17, 2024

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

谢谢,十分的有用啊!

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

sharevb added a commit to sharevb/it-tools that referenced this issue May 1, 2024
@sharevb sharevb linked a pull request May 1, 2024 that will close this issue
@sharevb
Copy link
Contributor

sharevb commented May 1, 2024

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

sharevb added a commit to sharevb/it-tools that referenced this issue May 15, 2024
sharevb added a commit to sharevb/it-tools that referenced this issue May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants