Z18601

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z18601"
    },
    "Z2K2": {
        "Z1K1": "Z14",
        "Z14K1": "Z15567",
        "Z14K3": {
            "Z1K1": "Z16",
            "Z16K1": "Z600",
            "Z16K2": "function Z15567(Z15567K1) {\nfunction spell_block(x)\n {\n  var integers = [\"\", \"satu\", \"dua\", \"tiga\", \"empat\", \"lima\", \"enam\", \"tujuh\", \"lapan\", \"sembilan\"];\n  var teens = [\"sebelas\", \"dua belas\", \"tiga belas\", \"empat belas\", \"lima belas\", \"enam belas\", \"tujuh belas\", \"lapan belas\", \"sembilan belas\"];\n  var tys = [\"\", \"sepuluh\", \"dua puluh\", \"tiga puluh\", \"empat puluh\", \"lima puluh\", \"enam puluh\", \"tujuh puluh\", \"lapan puluh\", \"sembilan puluh\"];\n  \n  var hundreds_spelling = \"\", tens_and_ones_spelling = \"\", tens_spelling = \"\", ones_spelling = \"\";\n  var hundreds = x / 100n;\n  if(hundreds != 0n) {hundreds_spelling = integers[hundreds] + \" ratus\";}\n  \n  var tens_and_ones = x % 100n;\n  if(tens_and_ones \u003E= 11n \u0026\u0026 tens_and_ones \u003C=19n) {tens_and_ones_spelling = teens[tens_and_ones-11n];}\n  else\n  {\n   var tens = tens_and_ones / 10n;\n   var ones = tens_and_ones % 10n;\n   if (tens != 0n) {tens_spelling = tys[tens];}\n   if (ones != 0n) {ones_spelling = integers[ones];}\n   \n   if(tens_spelling != \"\" \u0026\u0026 ones_spelling != \"\")\n    {tens_and_ones_spelling = tens_spelling + \" \" + ones_spelling;}\n   else if(tens_spelling != \"\" \u0026\u0026 ones_spelling == \"\")\n    {tens_and_ones_spelling = tens_spelling;}\n   else if(tens_spelling == \"\" \u0026\u0026 ones_spelling != \"\")\n    {tens_and_ones_spelling = ones_spelling;}\n   else {}\n  }\n  \n  if(hundreds_spelling != \"\" \u0026\u0026 tens_and_ones_spelling != \"\")\n   {return hundreds_spelling + \" \" + tens_and_ones_spelling;}\n  else {return hundreds_spelling + tens_and_ones_spelling;}\n }\n\n var x = Z15567K1;\n \n var blocks_names = [\"\", \"ribu\", \"juta\", \"bilion\", \"trilion\", \"kuadrilion\", \"kuintilion\", \"sekstilion\", \"septilion\", \"oktilion\", \"nonilion\", \"desilion\", \"undesilion\", \"duodesilion\", \"tredesilion\", \"kuatuordesilion\"];\n var blocks_spelling = [];\n \n if(x == 0n) {blocks_spelling.push(\"sifar\");}\n else if (x \u003E 999999999999999999999999999999999999999999999999n)\n { Wikifunctions.Error(\"Z28307\",[String(x),\"999999999999999999999999999999999999999999999999\",\"ms\"]) }\n else\n {\n  var x_remainder = x;\n  for(var i=0; i!=blocks_names.length; i++)\n  {\n   var cur_block = x_remainder % 1000n;\n   x_remainder = x_remainder / 1000n;\n   var cur_block_spelling = spell_block(cur_block);\n   if(cur_block_spelling != \"\")\n    {blocks_spelling.push(cur_block_spelling + (blocks_names[i]==\"\" ? \"\" : (\" \"+blocks_names[i]) ) );}\n  }\n }\n \n var tens_and_ones = x % 100n;\n var tens = tens_and_ones / 10n;\n var ones = tens_and_ones % 10n;\n \n return blocks_spelling.reverse().join(\" \");\n}"
        }
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "Malay cardinal, JavaScript"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1004",
                "Z11K2": "cardinal en malais, en JavaScript"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11"
        ]
    }
}