shuffle([1, 2, 3, 4, 5, 6, 7, 8, 9]).slice( 0, 4 ) digitsToInteger( DIGITS ) randRange( 0, 3 ) DIGITS[POWER] function(){var e=DIGITS.length-1,r=$.map(DIGITS,function(r,n){return"("+r+"\\times"+pow(10,e-n)+")"});return r.join("+")}() function(){var e=DIGITS.length-1,r=$.map(DIGITS,function(r,n){return pluralTex(r,powerToPlace(e-n))});return r.join(" <code>+</code> ")}() function(){var e=placesLeftOfDecimal.slice(0,4);return $.map(e,function(e){return e+"s"})}() PLACES[ DIGITS.length - 1 - POWER ]

What is the place value of DIGIT in NUMBER?

capitalize(SOLUTION)

  • capitalize(place)

NUMBER can be represented as follows.

= HINT_IN_NUMBERS

= HINT_IN_WORDS

Thus, DIGIT is in the SOLUTION place.

randRange( 0, 9, 4 ) digitsToInteger( DIGITS ) [ ] function(){var e=DIGITS.length-1;return $.map(DIGITS,function(r,n){if(0===r)return null;var t;if(n!==DIGITS.length-1){if(n===DIGITS.length-2)return t=10*r+DIGITS[DIGITS.length-1],ADDENDS.push(t),Cardinal(t)+" is the same as <code>"+t+"</code>";var i=Cardinal(r)+" "+powerToPlace(e-n),s=pow(10,e-n);return ADDENDS.push(r*s),i+" is the same as <code>"+r+"\\times"+s+" = "+r*s+"</code>"}return 0===DIGITS[n-1]?(ADDENDS.push(r),Cardinal(r)+" is the same as <code>"+r+"</code>"):void 0})}()

Rewrite cardinal( NUMBER ) in numerals.

NUMBER

hint

Add all these parts up:

ADDENDS.join( " + " )

= NUMBER