Z30312

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z30312"
    },
    "Z2K2": "function Z16053( Z16053K1 ) { \t \tfunction generate(number, origin){ \t \t     const TEN = 10;     const ONE_HUNDRED = 100;     const ONE_THOUSAND = 1000;     const ONE_MILLION = 1000000;     const ONE_BILLION = 1000000000;           //         1.000.000.000 (9)     const ONE_TRILLION = 1000000000000;       //     1.000.000.000.000 (12)     const ONE_QUADRILLION = 1000000000000000; // 1.000.000.000.000.000 (15)     const MAX = 9007199254740992;             // 9.007.199.254.740.992 (15)      const LESS_THAN_TWENTY =['efu','otu','abụọ','atọ','anọ','ise','isii','asaa','asatọ','itoolu','iri','iri na otu','iri na abụọ','iri na atọ','iri na anọ','iri na ise','iri na isii','iri na asaa','iri na asatọ','iri na itoolu']     const TENTHS_LESS_THAN_HUNDRED = [         'efu', 'iri', 'iri abụọ', ' iri atọ', 'iri anọ', 'iri ise', 'iri isii', 'iri asaa', 'iri asatọ', 'iri itoolu'     ];      let remainder, word,         words = arguments[2];                if (number === 0) {         return !words ? 'efu' : words.join(' ').replace(/,$/, *);     }          if (!words) {         words = [];     }      if (number \u003C 20) {         remainder = 0;         word = origin \u003E  number ? `na ${LESS_THAN_TWENTY[number]}` : origin \u003E 100000 ? LESS_THAN_TWENTY[number]+'na'  : LESS_THAN_TWENTY[number] ;               } else if (number \u003C ONE_HUNDRED) {         remainder = number % TEN;         word =  origin \u003E number ? `na ${TENTHS_LESS_THAN_HUNDRED[Math.floor(number / TEN)]}` : TENTHS_LESS_THAN_HUNDRED[Math.floor(number / TEN)] ;                          if (remainder) {                 word += ' na ' + LESS_THAN_TWENTY[remainder] ;                 remainder = 0;             }      } else if (number \u003C ONE_THOUSAND) {         remainder = number % ONE_HUNDRED;         if(number === 100)             word  = generate(Math.floor(number/ ONE_HUNDRED)) + ' narị';         else          word = origin \u003E number ?  `na narị ${generate(Math.floor(number/ ONE_HUNDRED))}` : `narị ${generate(Math.floor(number/ ONE_HUNDRED))} ${remainder \u003E 0  ? 'na' : *}`;               }else if (number \u003C ONE_MILLION) {          remainder = number % ONE_THOUSAND;         if(number === 1000 || number === 100000)              word = origin \u003E number ? `na ${generate(Math.floor(number/ ONE_THOUSAND)) + ' puku'}` : generate(Math.floor(number/ ONE_THOUSAND)) + \" puku\";          else              word = origin \u003E number ?  `na puku ${generate(Math.floor(number/ ONE_THOUSAND))}` : `puku ${generate(Math.floor(number/ ONE_THOUSAND))}`;      } else if (number \u003C ONE_BILLION) {                      remainder = number % ONE_MILLION;         if(number === ONE_MILLION || number === 100000000)              word = origin \u003E number ? `na ${generate(Math.floor(number/ ONE_MILLION)) + ' nde'}` : generate(Math.floor(number/ ONE_MILLION)) + ' nde';                  else                   word = origin \u003E number ?  `na nde ${generate(Math.floor(number/ ONE_MILLION))}` : `nde ${generate(Math.floor(number/ ONE_MILLION))}`;       }else if (number \u003C ONE_TRILLION) {                      remainder = number % ONE_BILLION;         if(number === ONE_BILLION || number === 100000000000)              word = origin \u003E number ? `na ${generate(Math.floor(number/ ONE_BILLION)) + ' ijeri'}` : generate(Math.floor(number/ ONE_BILLION)) + ' ijeri';                  else                word = origin \u003E number ?  `na ijeri ${generate(Math.floor(number/ ONE_BILLION))}` : `ijeri ${generate(Math.floor(number/ ONE_BILLION))}`;       }else if (number \u003C ONE_QUADRILLION) {                      remainder = number % ONE_TRILLION;         if(number === ONE_TRILLION || number ===100000000000000)              word = origin \u003E number ? `na ${generate(Math.floor(number/ ONE_TRILLION)) + ' tarị'}` : generate(Math.floor(number/ ONE_TRILLION)) + ' tarị';         else                  word = origin \u003E number ?  `na tarị ${generate(Math.floor(number/ ONE_TRILLION))} ` : `tarị ${generate(Math.floor(number/ ONE_TRILLION))}`;       }else if( number \u003E= ONE_QUADRILLION){ \t    \tWikifunctions.Error(\"Z28307\",[String(number),String(ONE_QUADRILLION-1),\"ig\"]); \t    } \t     \t     \t    words.push(word); \t    return generate(remainder,origin, words);  \t}  \tlet words;     let num = Number(Z16053K1);     let originNum = num;          words = generate(num,originNum);          let number = \"\"+ words; // convert this string the tradational way.      let num_list = number.split(\" \"); // convert into a list for processing.      const num_list_size = num_list.length; // get the length of the  list.      let formatted_text = \"\";      for (let index = 0; index \u003C num_list.length; index++) {                  if(num_list[index] != \"\")         \tif(index == num_list.length-1)         \t\tformatted_text += num_list[index];             else             \tformatted_text += num_list[index] + \" \";          if(num_list[index] == num_list[index+1] \u0026\u0026 index+1 \u003C= num_list_size)             index = index+1;              }      return formatted_text;  }",
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "korean cardinal number"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11"
        ]
    }
}