module Turkish::Number

Defined in:

turkish-number/class.cr
turkish-number/version.cr

Constant Summary

BREAKNUMBERS = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 1000, 1000000, 1000000000].sort!.reverse!
MAPPINGS = {0 => "sıfır", 1 => "bir", 2 => "iki", 3 => "üç", 4 => "dört", 5 => "beş", 6 => "altı", 7 => "yedi", 8 => "sekiz", 9 => "dokuz", 10 => "on", 20 => "yirmi", 30 => "otuz", 40 => "kırk", 50 => "elli", 60 => "altmış", 70 => "yetmiş", 80 => "seksen", 90 => "doksan", 100 => "yüz", 1000 => "bin", 1000000 => "milyon", 1000000000 => "milyar"}
MAXIMUM_HANDLEABLE_NUMBER = 2147483647
MINIMUM_HANDLEABLE_NUMBER = -2147483648
VERSION = "1.0.0"

Class Method Summary

Class Method Detail

def self.to_words(number) #

[View source]
def self.write(number) #

[View source]