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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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