Convert numbers into uppercase Chinese characters
Project description
功能
把数字转化为大写
用法
import digit2chinese
chinese = digit2chinese.digit2chinese(1234567891)
print(chinese) # 壹拾贰亿叁仟肆佰伍拾陆万柒仟捌佰玖拾壹
or
chinese = digit2chinese.digit2chinese(1234567891,style=1)
print(chinese) # 十二亿三千四百五十六万七千八百九十一
bug反馈
如果发现bug请反馈至yanchengxin@yeah.net 谢谢
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for digit2chinese-2023.1.20.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3511af7f7eea2b97becbbe98fba9c610b87d04f428e6fc9aeb06e7dd97365353 |
|
MD5 | c1a4ad617d22d8b7f8ede71e403189a2 |
|
BLAKE2b-256 | 5114a43b28e13bc103ac31adeaf1a5c11a85b027eab1cbce04d03731128a611d |
Close
Hashes for digit2chinese-2023.1.20.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b31e303780726e7ba930f6ce91463c6dcdc5f29b42efb8f57afba69cd2f1b112 |
|
MD5 | 8b3b60d5b5d9d56429bff7255a543f77 |
|
BLAKE2b-256 | f963b84f99b06b0738e40003c8681cc38d4db475bb3e589f83ad4bba0ac8831f |