• Stars
    star
    8
  • Rank 2,034,447 (Top 42 %)
  • Language
    Crystal
  • License
    MIT License
  • Created about 7 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

turn integers into the Turkish words for Crystal Language

turkish-number

 _              _    _     _                                 _               
| |            | |  (_)   | |                               | |              
| |_ _   _ _ __| | ___ ___| |__ ______ _ __  _   _ _ __ ___ | |__   ___ _ __ 
| __| | | | '__| |/ / / __| '_ \______| '_ \| | | | '_ ` _ \| '_ \ / _ \ '__|
| |_| |_| | |  |   <| \__ \ | | |     | | | | |_| | | | | | | |_) |  __/ |   
 \__|\__,_|_|  |_|\_\_|___/_| |_|     |_| |_|\__,_|_| |_| |_|_.__/ \___|_|  
 

Build Status

turn integers into the Turkish words for Crystal Language

adapted from hynkle/turkish_number Ruby Gems.

it has been reorganized and improved for Crystal.

features

  • turn integers into the Turkish words (including negative numbers)
  • only Int32 data type support (for now)
  • Number range: -2147483648 / 2147483647 (Int32 - Crystal API)

installation

add this to your application's shard.yml:

dependencies:
  turkish-number:
    github: izniburak/turkish-number

Usage

require "turkish-number"

puts 1881.tr_words # bin sekiz yüz seksen bir
puts 1938.tr_words # bin dokuz yüz otuz sekiz

puts 75986346.tr_words # yetmiş beş milyon dokuz yüz seksen altı bin üç yüz kırk altı
puts -102574.tr_words # eksi yüz iki bin beş yüz yetmiş dört

# bla bla bla ...

Contributing

  1. fork it ( https://github.com/izniburak/turkish-number/fork )
  2. create your feature branch (git checkout -b my-new-feature)
  3. commit your changes (git commit -am 'Add some feature')
  4. push to the branch (git push origin my-new-feature)
  5. create a new Pull Request

Contributors

  • izniburak İzni Burak Demirtaş - creator, maintainer

More Repositories

1

pdox

useful query builder class that works with PHP PDO class for simple access your data.
PHP
287
star
2

laravel-auto-routes

Auto Route Generating (Auto-Discovery) Package for Laravel.
PHP
228
star
3

php-router

PHP Router, which also has rich features like Middlewares and Controllers is simple, useful and flexible router class for PHP.
PHP
226
star
4

demet

Simple and useful LAMP & LEMP and more stack environments to use on Docker.
Dockerfile
99
star
5

nur

nur - a simple framework for PHP
PHP
62
star
6

query-builder

sql query builder library for crystal-lang
Crystal
47
star
7

pipeline-go

Pipeline pattern for your jobs, tasks, etc.. (Golang)
Go
46
star
8

react-native-starter

React Native Starter Kit
JavaScript
42
star
9

denetmen

useful micro check library for Crystal Language.
Crystal
23
star
10

appstore-notifications-go

App Store Server Notification V2 Package for Golang
Go
20
star
11

qruby

sql query builder library for Ruby.
Ruby
19
star
12

c-programlama-kod-ornekleri

c programming code examples
C
11
star
13

google-bot-curl

php google bot
PHP
8
star
14

image-processing

Image Processing example codes and algorithms. (C++ and OpenCV)
C++
6
star
15

nur-core

nur framework core files.
PHP
5
star
16

denetmen.js

simple javascript form validator plugin for jquery
JavaScript
3
star
17

aa-api

Anadolu Agency (Anadolu Ajansı) API Client for PHP
PHP
3
star
18

ruby-draw

Ruby Draw / Fixture script for Fifa & Pes fans.. Happy tournaments!
Ruby
3
star
19

easy-crud

simple crud class for php
PHP
2
star
20

redux.php

simple Redux implementation for PHP (for fun)
PHP
2
star
21

blockchain.rb

a simple introduction to Blockchain algorithm. What is Blockchain? Watch to learn:
Ruby
2
star
22

izniburak

1
star
23

jquery.jtwit.js

jQuery Twitter Plugin
JavaScript
1
star
24

react-starter

react starter project (example)
JavaScript
1
star
25

laravel-jotform

Jotform API for Laravel
PHP
1
star
26

laravel-example

PHP
1
star