Skip to content

kitagawa-hr/japanese-numbers-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • , , , , ,
  • , , ,

Reference

I used japanese-numerals-to-number as a reference.