Million Billion Trillion: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 15: Line 15:
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
var Thousand = Math.pow(10,3),
var Thousand = Math.pow(10,3),
     Million, Billion, Trillion;
     Million = Thousand * Thousand,
    Billion;


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


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



Revision as of 09:21, 12 January 2018

Million

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

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

Million    = Thousand * Thousand;

Billion

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

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

//Billion  = Thousand * Thousand * Thousand;
Billion    = Million * Thousand;

Trillion

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);