This file contains 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
// | |
// main.c | |
// Ödev 2 | |
// | |
// Created by Muhammet Mehmet Emin Kartal on 10/3/17. | |
// Copyright © 2017 Muhammet Mehmet Emin Kartal. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <math.h> |
This file contains 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
hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEg14eo6ro/u4dEMyR8LD2GPT+a9R27sP/9eDgjW73n91sKp3BheWxvYWTFAvJ7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTIwZDc4N2E4ZWFiYTNmYmI4NzQ0MzMyNDdjMmMzZDg2M2QzZjlhZjUxZGJiYjBmZmZkNzgzODIzNWJiZGU3Zjc1YjBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJraWQiOiIwMTIwZDc4N2E4ZWFiYTNmYmI4NzQ0MzMyNDdjMmMzZDg2M2QzZjlhZjUxZGJiYjBmZmZkNzgzODIzNWJiZGU3Zjc1YjBhIiwidWlkIjoiYzkzYmU5MDRjNDM5OTk1Zjc2M2YwNDk1ZjYzNTg0MTkiLCJ1c2VybmFtZSI6ImthcnRhbCJ9LCJzZXJ2aWNlIjp7Im5hbWUiOiJnaXRodWIiLCJ1c2VybmFtZSI6Im1laG1ldGVtaW5rYXJ0YWwifSwidHlwZSI6IndlYl9zZXJ2aWNlX2JpbmRpbmciLCJ2ZXJzaW9uIjoxfSwiY2xpZW50Ijp7Im5hbWUiOiJrZXliYXNlLmlvIGdvIGNsaWVudCIsInZlcnNpb24iOiIxLjAuMTgifSwiY3RpbWUiOjE0ODY4Mjc0MDYsImV4cGlyZV9pbiI6NTA0NTc2MDAwLCJtZXJrbGVfcm9vdCI6eyJjdGltZSI6MTQ4NjgyNzM5NiwiaGFzaCI6IjExZmU0Mjk3MjI5ZDkwYzk3ODA1OWZkZDQ5ZmFhZThmMTM1ZTdlYzg1ZjIxNGJmOGRmMTA0YjRkZmQxMTNhYzVjMGIwOTMxZWUzNjNiOWZhZjk3NjRhZmI2YzE3YzZmMzI0ZTJhMjlkYjkxZDUxN2NkZjQ3YzZjNmIxZTRjNTIzIiwic2Vxbm8iOjg3NjkxNX0sInByZXYiOiJjYTkyNjdjNGZjN2JiZTExMGQ0MGE2YjE2NGJh |
This file contains 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
<?php | |
function numtostr($num, $glue = " ") { | |
$c = array( | |
array("", "bir", "iki", "üç", "dört", "beş", "altı", "yedi", "sekiz", "dokuz"), | |
array("", "on", "yirmi", "otuz", "kırk", "elli", "altmış", "yetmiş", "seksen", "doksan"), | |
); | |
$b = array("", "bin", "milyon", "milyar", "trilyon", "katrilyon", "kentilyon"); | |
$ret = ""; | |
$basamaklar = explode(".", number_format((String) ($num), 0, ",", ".")); | |
$len = strlen((String) ($num)); |
NewerOlder