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...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
__TOC__
===Million===
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
var Million, Billion, Trillion;
var Thousand = Math.pow(10,3),
    Million;


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


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


//Trillion = Math.pow(10,9) x Math.pow(10,3)
</syntaxhighlight>
Trillion   = Billion x Math.pow(10,3)
 
===Billion===
<syntaxhighlight lang="javascript">
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;
 
</syntaxhighlight>
 
===Trillion===
<syntaxhighlight lang="javascript">
var Thousand = Math.pow(10,3),
    Million  = Thousand * Thousand,
    Billion  = Million * Thousand,
    Trillion;
 
//Trillion = Math.pow(10,3) * Math.pow(10,3) * Math.pow(10,3) * Math.pow(10,3);
//Trillion = Math.pow(10,6) * Math.pow(10,6);
//Trillion = Math.pow(10,9) * Math.pow(10,3);
//Trillion = Math.pow(10,12);
 
//Trillion = Thousand * Thousand * Thousand * Thousand;
//Trillion = Million * Million;
Trillion  = Billion * Thousand;
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 09:29, 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  = Thousand * Thousand,
    Billion  = Million * Thousand,
    Trillion;

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

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