Skip to content

Im-Tae/HangulNumber

Repository files navigation

Hangul Number

Author License

Use this library to convert Number into Korean.

Install

Maven Central

Gradle

Module : build.gradle

dependencies {
    implementation("io.github.im-tae:hangul-number:$Version")
}

Maven

<dependency>
    <groupId>io.github.im-tae</groupId>
    <artifactId>hangul-number</artifactId>
    <version>$Version</version>
</dependency>

Usage

Use it like following:
HangulNumber.numberToHangul("7234526")
HangulNumber.numberToHangul("7456653467", Spacing.TYPE)

HangulNumber supports the following TYPE of Spacing:
  1. Spacing.NONE : Default, No spacing.
  2. Spacing.SMALL : Spacing in small unit.
  3. Spacing.BIG : Spacing in big unit .
  4. Spacing.BOTH : Spacing both small unit and big unit.

HangulNumber supports the number ranges

0 to 10^33 - 1 [0 ~ 99999999999999999999999999999999 ]

License

Copyright 2020 Im-Tae (TaeGeon Lim)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Use this library to convert Number into Korean.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages