Million Billion Trillion: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "<syntaxhighlight lang="javascript"> var Million, Billion, Trillion; Million = Math.pow(10,6) //Billion = Math.pow(10,9) //Billion = Math.pow(10,6) x Math.pow(10,3) Billi...")
 
No edit summary
Line 1: Line 1:
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
var Million, Billion, Trillion;
var Thousand = Math.pow(10,3),
    Million, Billion, Trillion;


Million   = Math.pow(10,6)
//Million = Math.pow(10,3) * Math.pow(10,3);
//Billion  = Math.pow(10,9)
//Million = Thousand * Thousand;
//Billion = Math.pow(10,6) x Math.pow(10,3)
Million   = Math.pow(10,6);
Billion   = Million x Math.pow(10,3)


//Trillion = Math.pow(10,12)
//Billion  = Math.pow(10,3) * Math.pow(10,3) * Math.pow(10,3);
//Trillion = Math.pow(10,6) x Math.pow(10,6)
//Billion  = Thousand * Thousand * Thousand;
//Trillion = Million x Million
//Billion  = Math.pow(10,6) * Math.pow(10,3);
//Billion    = Million * Thousand;
Billion    = Math.pow(10,9);


//Trillion = Math.pow(10,9) x Math.pow(10,3)
//Trillion = Math.pow(10,3) * Math.pow(10,3) * Math.pow(10,3) * Math.pow(10,3);
Trillion  = Billion x Math.pow(10,3)
//Trillion = Thousand * Thousand * Thousand * Thousand;
//Trillion = Math.pow(10,6) * Math.pow(10,6);
//Trillion = Million * Million;
//Trillion = Math.pow(10,9) * Math.pow(10,3);
//Trillion = Billion * Thousand;
Trillion  = Math.pow(10,12);
</syntaxhighlight>
</syntaxhighlight>

Revision as of 09:08, 12 January 2018

var Thousand = Math.pow(10,3),
    Million, Billion, Trillion;

//Million  = Math.pow(10,3) * Math.pow(10,3);
//Million  = Thousand * Thousand;
Million    = Math.pow(10,6);

//Billion  = Math.pow(10,3) * Math.pow(10,3) * Math.pow(10,3);
//Billion  = Thousand * Thousand * Thousand;
//Billion  = Math.pow(10,6) * Math.pow(10,3);
//Billion    = Million * Thousand;
Billion    = Math.pow(10,9);

//Trillion = Math.pow(10,3) * Math.pow(10,3) * Math.pow(10,3) * Math.pow(10,3);
//Trillion = Thousand * Thousand * Thousand * Thousand;
//Trillion = Math.pow(10,6) * Math.pow(10,6);
//Trillion = Million * Million;
//Trillion = Math.pow(10,9) * Math.pow(10,3);
//Trillion = Billion * Thousand;
Trillion   = Math.pow(10,12);