Million Billion Trillion: Difference between revisions
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 | //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,9) | //Trillion = Math.pow(10,3) * Math.pow(10,3) * Math.pow(10,3) * Math.pow(10,3); | ||
Trillion = | //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);