Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

japanese-number-converter-1.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

japanese_number_converter-1.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for japanese-number-converter-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5f907d939b280fafcf874dd730516e9adebeef095ccc59963f436a56182e9070
MD5 e0686e23d97afc0ff3117542f388e2e8
BLAKE2b-256 c2e0dce9fd25d3ef1c077e4682009cdee92bc68bbb4b19adc9248319f7b2c101

See more details on using hashes here.

File details

Details for the file japanese_number_converter-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for japanese_number_converter-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 735cdd7bc94ca7fdad9d536fa0a82d9a7a56c35f1a49a875f3872d7675788428
MD5 fdb681be0251a2c6a993a51156cd710a
BLAKE2b-256 655a3f3bcb5d3b38abcd5dbf8fd94d0e284154b9d75ed9de3adf8f649d236df8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page