Fast | Easy | Short
<center>
2018*
<div style="width: 510; overflow: auto;"><SCRIPT LANGUAGE="JavaScript">

<!-- Ba&#351;lang&#305;ç
var n = "";
function validate(input) {
if (input.length == 0) {
document.myform.textver.value = "";
return true;
}
else convert(input);
}
function d1(x) {
switch(x) {
case '0': n= ""; break;
case '1': n= " One "; break;
case '2': n= " Two "; break;
case '3': n= " Three "; break;
case '4': n= " Four "; break;
case '5': n= " Five "; break;
case '6': n= " Six "; break;
case '7': n= " Seven "; break;
case '8': n= " Eight "; break;
case '9': n= " Nine "; break;
default: n = "Not a Number";
}
return n;
}
function d2(x) {
switch(x) {
case '0': n= ""; break;
case '1': n= ""; break;
case '2': n= " Twenty "; break;
case '3': n= " Thirty "; break;
case '4': n= " Forty "; break;
case '5': n= " Fifty "; break;
case '6': n= " Sixty "; break;
case '7': n= " Seventy "; break;
case '8': n= " Eighty "; break;
case '9': n= " Ninety "; break;
default: n = "Not a Number";
}
return n;
}
function d3(x) {
switch(x) {
case '0': n= " Ten "; break;
case '1': n= " Eleven "; break;
case '2': n= " Twelve "; break;
case '3': n= " Thirteen "; break;
case '4': n= " Fourteen "; break;
case '5': n= " Fifteen "; break;
case '6': n= " Sixteen "; break;
case '7': n= " Seventeen "; break;
case '8': n= " Eighteen "; break;
case '9': n= " Nineteen "; break;
default: n= "Not a Number";
}
return n;
}
function convert(input) {
var inputlength = input.length;
var x = 0;
var teen1 = "";
var teen2 = "";
var teen3 = "";
var numName = "";
var invalidNum = "";
var a1 = "";
var a2 = "";
var a3 = "";
var a4 = "";
var a5 = "";
digit = new Array(inputlength);
for (i = 0; i < inputlength; i++) {

digit[inputlength - i] = input.charAt(i)};
store = new Array(9);
for (i = 0; i < inputlength; i++) {
x= inputlength - i;
switch (x) {
case x=9: d1(digit[x]); store[x] = n; break;
case x=8: if (digit[x] == "1") {teen3 = "yes"}
else {teen3 = ""}; d2(digit[x]); store[x] = n; break;
case x=7: if (teen3 == "yes") {teen3 = ""; d3(digit[x])}
else {d1(digit[x])}; store[x] = n; break;
case x=6: d1(digit[x]); store[x] = n; break;
case x=5: if (digit[x] == "1") {teen2 = "yes"}
else {teen2 = ""}; d2(digit[x]); store[x] = n; break;
case x=4: if (teen2 == "yes") {teen2 = ""; d3(digit[x])}
else {d1(digit[x])}; store[x] = n; break;
case x=3: d1(digit[x]); store[x] = n; break;
case x=2: if (digit[x] == "1") {teen1 = "yes"}
else {teen1 = ""}; d2(digit[x]); store[x] = n; break;
case x=1: if (teen1 == "yes") {teen1 = "";d3(digit[x])}
else {d1(digit[x])}; store[x] = n; break;
}
if (store[x] == "Not a Number"){invalidNum = "yes"};
switch (inputlength){
case 1: store[2] = "";
case 2: store[3] = "";
case 3: store[4] = "";
case 4: store[5] = "";
case 5: store[6] = "";
case 6: store[7] = "";
case 7: store[8] = "";
case 8: store[9] = "";
}
if (store[9] != "") { a1 =" Hundred, "} else {a1 = ""};
if ((store[9] != "")||(store[8] != "")||(store[7] != ""))
{ a2 =" Million, "} else {a2 = ""};
if (store[6] != "") { a3 =" Hundred "} else {a3 = ""};
if ((store[6] != "")||(store[5] != "")||(store[4] != ""))
{ a4 =" Thousand, "} else {a4 = ""};
if (store[3] != "") { a5 =" Hundred "} else {a5 = ""};
}

if (invalidNum == "yes"){numName = "Dalgami geçiyon ? (harf olmuyo sayi yazcan)"}
else {
numName = store[9] + a1 + store[8] + store[7]
+ a2 + store[6] + a3 + store[5] + store[4]
+ a4 + store[3] + a5 + store[2] + store[1];
}
store[1] = ""; store[2] = ""; store[3] = "";
store[4] = ""; store[5] = ""; store[6] = "";
store[7] = ""; store[8] = ""; store[9] = "";
if (numName == ""){numName = "Zero"};
document.myform.textver.value = numName;
return true;
}
// Son -->
</script>
<form name="myform">
<table border=0>
<tr>
<td><font color="#115585">Rakam:</font></td>
<td><input name="numver" size=9 STYLE="color: #000066; background-color: #ebe2d3;" maxlength=9> <input onclick="return validate(document.myform.numver.value)" type="button" STYLE="color: #000066; background-color: #ebe2d3;"value="Çevir"></td>
</tr>
<tr>
<td><font color="#115585">&#304;ngilizcesi:</font></td>
<td><input name="textver" size=50 STYLE="color: #000066; background-color: #ebe2d3;" maxlength=50></td>
</tr>
<tr>
<td align=middle colspan=2></td>
</tr>
</table>
</form> </div>
</td>
<td class="edit_content_right_spacer" width="3%">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="31" background="//theme.webme.com/designs/iceblue/images/cont_bottom.gif" class="edit_content_bottom"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="//theme.webme.com/designs/iceblue/images/footer.gif" height="31" class="edit_content_bottom2">
<tr>
<td class="edit_content_bottom2_left_spacer" width="2%">&nbsp;</td>
<td class="edit_content_bottom2_counter" width="96%" style="color:white; text-align: center;">
</center>

Notes.io is a web-based application for taking notes. You can take your notes and share with others by providing the shorten url to a friend.

Fast: Notes.io is built for speed and performance. You can take notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share shorten link!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q

Contact: hello@notes.io

# Long File

For written notes was greater than 18KB Unable to shorten.