A converter for BigInteger to Japanese Numeral System.
JavaのBigIntegerから、日本語の命数付きの表現に変換するためのユーティリティーです。 JavaのBigInteger(>=0)を引数として与えると、4桁区切りの命数をつけた文字列を返却します。
MyMac: $ java -jar target/JapaneseNumeralSystemConverter-0.0.1-SNAPSHOT.jar
[A Japanese Numerical System Converter]
usage:
- type in zero or positive value and press enter.
- press ctrl+c to quit.
- This tool cannot run on Eclipse console.
- if you have encoding problems on MacOSX + Java, try put these two lines in your .bash_profile)
alias javac='javac -J-Dfile.encoding=UTF-8'
alias java='java -Dfile.encoding=UTF-8'
number?1234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890=>12無量大数3456不可思議7890那由他1234阿僧祇5678恒河沙9012極3456載7890正1234澗5678溝9012穣3456𥝱7890垓1234京5678兆9012億3456万7890
<repositories>
<repository>
<id>hrkt-snapshots</id>
<url>http://github.com/hrkt/hrktsoft-repo/snapshots</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.hrktsoft</groupId>
<artifactId>JapaneseNumeralSystemConverter</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>