This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const turkish_NumberToWords = (number = 0) => { | |
| /* | |
| * Assign spelling words in seperate arrays | |
| */ | |
| const steps = ['', 'bir', 'iki', 'üç', 'dört', 'beş', 'altı', 'yedi', 'sekiz', 'dokuz'] | |
| const tens = ['', 'on', 'yirmi', 'otuz', 'kırk', 'elli', 'altmış', 'yetmiş', 'seksen', 'doksan'] | |
| const hundreds = ['', 'yüz', 'ikiyüz', 'üçyüz', 'dörtyüz', 'beşyüz', 'altıyüz', 'yediyüz', 'sekizyüz', 'dokuzyüz'] | |
| const nS = ['', 'bin', 'milyon', 'milyar', 'trilyon', 'katrilyon', 'kentilyon', 'seksilyon', 'septilyon', 'oktilyon'] | |
| /* | |
| * Maximum number step is 30 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DROP TABLE IF EXISTS `cities`; | |
| CREATE TABLE `cities` ( | |
| `id` int(2) NOT NULL, | |
| `title` varchar(255) NOT NULL, | |
| `lat` double(11,8) DEFAULT NULL, | |
| `lng` double(11,8) DEFAULT NULL, | |
| `northeast_lat` double(11,8) DEFAULT NULL, | |
| `northeast_lng` double(11,8) DEFAULT NULL, | |
| `southwest_lat` double(11,8) DEFAULT NULL, | |
| `southwest_lng` double(11,8) DEFAULT NULL, |