Module: NumeralsJp::Constant

Included in:
IntegerConverter, StringConverter
Defined in:
lib/numerals_jp/constant.rb

Overview

Represents common constant variables.

Constant Summary collapse

NUMERALS =
"一二三四五六七八九"
SMALL_FACTORS =
{
  "" => 10,
  "" => 100,
  "" => 1000
}.freeze
LARGE_FACTORS =
{
  "" => 10 ** 4,
  "" => 10 ** 8,
  "" => 10 ** 12
}.freeze