A script that converts numbers to uppercase.
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-2022.3.22.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd3ea699bba0e304bd49f4c44286ad6d8d90823a7657ea54d2a730341f7ee380 |
|
MD5 | 84eb81f785bded639c97cddc78bc74c4 |
|
BLAKE2b-256 | 5d1b3e1edb85baa77839fff5c6588d2e687ce05c0df876a8dccfe66c22f8184a |
Close
Hashes for digit2chinese-2022.3.22.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75f1cd600cbba17ecd9d887c5f546bff4394d5cafaec07005de853d8b6db5d63 |
|
MD5 | 542a5858c0baa6b58d0d1c9df3382179 |
|
BLAKE2b-256 | 7d3c4d91898b4aa0b39cf9c6fdf2da2e7f916f5bf63573554160cf4a3aad9f30 |