Z16164

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z16164"
    },
    "Z2K2": {
        "Z1K1": "Z14",
        "Z14K1": "Z16163",
        "Z14K3": {
            "Z1K1": "Z16",
            "Z16K1": "Z600",
            "Z16K2": "function Z16163( Z16163K1 )\r\n{\r\n function spell_block(x)\r\n {\r\n  var integers = [\"\", \"een\", \"twee\", \"dree\", \"veer\", \"fief\", \"söss\", \"söven\", \"acht\", \"negen\"];\r\n  var teens = [\"ölben\", \"twölf\", \"dörteihn\", \"veerteihn\", \"föffteihn\", \"sössteihn\", \"söventeihn\", \"achteihn\", \"negenteihn\"];\r\n  var tys = [\"\", \"teihn\", \"twintig\", \"dörtig\", \"veertig\", \"föfftig\", \"sösstig\", \"söventig\", \"achtig\", \"negentig\"]\r\n  \r\n  var hundreds_spelling = \"\", tens_and_ones_spelling = \"\", tens_spelling = \"\", ones_spelling = \"\";\r\n  var hundreds = x / 100n;\r\n  if(hundreds != 0n) {hundreds_spelling = integers[hundreds] + \"hunnert\";}\r\n  \r\n  var tens_and_ones = x % 100n;\r\n  if(tens_and_ones \u003E= 11n \u0026\u0026 tens_and_ones \u003C=19n) {tens_and_ones_spelling = teens[tens_and_ones-11n];}\r\n  else\r\n  {\r\n   var tens = tens_and_ones / 10n;\r\n   var ones = tens_and_ones % 10n;\r\n   if (tens != 0n) {tens_spelling = tys[tens];}\r\n   if (ones != 0n) {ones_spelling = integers[ones];}\r\n   \r\n   if(tens_spelling != \"\" \u0026\u0026 ones_spelling != \"\")\r\n    {tens_and_ones_spelling = ones_spelling + \"un\" + tens_spelling;}\r\n   else if(tens_spelling != \"\" \u0026\u0026 ones_spelling == \"\")\r\n    {tens_and_ones_spelling = tens_spelling;}\r\n   else if(tens_spelling == \"\" \u0026\u0026 ones_spelling != \"\")\r\n    {tens_and_ones_spelling = ones_spelling;}\r\n   else {}\r\n  }\r\n  \r\n  if(hundreds_spelling != \"\" \u0026\u0026 tens_and_ones_spelling != \"\")\r\n   {return hundreds_spelling + \" \" + tens_and_ones_spelling;}\r\n  else {return hundreds_spelling + tens_and_ones_spelling;}\r\n }\r\n\r\n var x = Z16163K1;\r\n \r\n var blocks_names = [\"\", \"dusend\", \"million\", \"milliard\", \"billion\", \"billiard\", \"trillion\", \"trilliard\", \"quadrillion\", \"quadrilliard\", \"quintillion\", \"quintilliard\", \"sextillion\", \"sextilliard\", \"septillion\", \"septilliard\"]\r\n var blocks_spelling = [];\r\n \r\n if(x == 0n) {blocks_spelling.push(\"null\");}\r\n else if (x \u003E 999999999999999999999999999999999999999999999999n)\r\n { Wikifunctions.Error(\"Z28307\",[String(x),\"999999999999999999999999999999999999999999999999\",\"nds\"])}\r\n else\r\n {\r\n  var x_remainder = x;\r\n  for(var i=0; i!=blocks_names.length; i++)\r\n  {\r\n   var cur_block = x_remainder % 1000n;\r\n   x_remainder = x_remainder / 1000n;\r\n   var cur_block_spelling = spell_block(cur_block);\r\n   if(cur_block_spelling != \"\")\r\n    {blocks_spelling.push(cur_block_spelling + (blocks_names[i]==\"\" ? \"\" : (\" \"+blocks_names[i]) ) );}\r\n  }\r\n }\r\n \r\n var tens_and_ones = x % 100n;\r\n var tens = tens_and_ones / 10n;\r\n var ones = tens_and_ones % 10n;\r\n \r\n return blocks_spelling.reverse().join(\" \");\r\n}"
        }
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1430",
                "Z11K2": "Plattdeutsche Kardinalzahl in JavaScript"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "Low German cardinal, javascript"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1004",
                "Z11K2": "cardinal en bas allemand, en JavaScript"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11"
        ]
    }
}