convert japanese numbers to arabic numbers
Project description
japanese-number-converter
Converts Japanese Numerals into arabic number.
Installation
pip install japanese-number-converter
Usage
import jnc
assert jnc.ja_to_arabic("九千七兆千九百九十二億五千四百七十四万九百九十一") == 9007199254740991
For detail, see test cases.
Supported formats
numbers 0 to 9
〇,一,二,三,四,五,六,七,八,九
names of powers of 10
十,百,千,万,億,兆
formal numerals (daiji) used in legal documents
壱,弐,参,拾
Reference
I used japanese-numerals-to-number as a reference.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file japanese-number-converter-1.0.1.tar.gz.
File metadata
- Download URL: japanese-number-converter-1.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.10 Linux/5.4.0-1047-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f907d939b280fafcf874dd730516e9adebeef095ccc59963f436a56182e9070
|
|
| MD5 |
e0686e23d97afc0ff3117542f388e2e8
|
|
| BLAKE2b-256 |
c2e0dce9fd25d3ef1c077e4682009cdee92bc68bbb4b19adc9248319f7b2c101
|
File details
Details for the file japanese_number_converter-1.0.1-py3-none-any.whl.
File metadata
- Download URL: japanese_number_converter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.10 Linux/5.4.0-1047-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
735cdd7bc94ca7fdad9d536fa0a82d9a7a56c35f1a49a875f3872d7675788428
|
|
| MD5 |
fdb681be0251a2c6a993a51156cd710a
|
|
| BLAKE2b-256 |
655a3f3bcb5d3b38abcd5dbf8fd94d0e284154b9d75ed9de3adf8f649d236df8
|