Skip to content

GreenYun/kansuji

Repository files navigation

Package kansuji

Go Report Card GoDoc PkgGoDev

Package kansuji provides kansuji conversion.

The "kansuji" is the romanization form of japanese "漢数字", which has the same meaning of Chinese "中文數字" ("中文数字", means Chinese number). As a matter of fact, these numbers have been used originally by Chinese for thousands of years. The reason to use "kansuji" was just for simple and short.

In the age of Ming dynasty, the Hongwu Emperor (Chu Yuan-chang) has forced the domestic financial system to use the financial style numbers, which are Chinese characters with lots of strokes, that can hardly be modified, compared to the very simple characters originally stand for numbers. This package supports both forms of kansuji.

Reference

  1. 中文数字, https://zh.wikipedia.org/wiki/%E4%B8%AD%E6%96%87%E6%95%B0%E5%AD%97
  2. 漢数字, https://ja.wikipedia.org/wiki/%E6%BC%A2%E6%95%B0%E5%AD%97
  3. 中华人民共和国国家标准 GB/T 15835—2011 出版物上数字用法
  4. 大字 (数字), https://ja.wikipedia.org/wiki/%E5%A4%A7%E5%AD%97_(%E6%95%B0%E5%AD%97)
  5. 大正十一年大蔵省令第四十三号(会計法規ニ基ク出納計算ノ数字及記載事項ノ訂正ニ関スル件), https://elaws.e-gov.go.jp/search/elawsSearch/elaws_search/lsg0500/detail?lawId=211M10000040043

Status

This project is under developing, you may make any pull requests to add features or sending ideas by writing issues.