Skip to main content

Easy converter between Kanji-Number and Integer

Project description

Easy converter between Kanji-Number and Integer

Powered by Yamato Nagata


Can Convert Number up to 10 ** 28 - 1

from kanjize import int2kanji, kanji2int, Number

    # 五千八百七万六千九十九

    # 58076099

    # 223400042566000

    # 223400042566000

print(int2kanji(223400042566000, style="mixed", kanji_thousand=False))
    # 223兆4000億4256万6000

print(int2kanji(223400042566000, style="mixed"))
    # 223兆4千億4256万6千

print((Number.from_kanji("223兆4千億4256万6千") * Number(2.3)).to_kanji(style="mixed"))
    # 446兆8千億8513万2千

Project details

Download files

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

Files for kanjize, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size kanjize-0.1.0.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page