Procházet zdrojové kódy

Add more volumes

master
Fen Dweller před 6 roky
rodič
revize
8878f494bf
1 změnil soubory, kde provedl 16 přidání a 1 odebrání
  1. +16
    -1
      macrovision.js

+ 16
- 1
macrovision.js Zobrazit soubor

@@ -122,6 +122,18 @@ math.createUnit("oceans", {
definition: "700000000 km^3", definition: "700000000 km^3",
prefixes: "long" prefixes: "long"
}); });
math.createUnit("earthVolumes", {
definition: "1.0867813e12 km^3",
prefixes: "long"
});
math.createUnit("universeVolumes", {
definition: "4.2137775e+32 lightyears^3",
prefixes: "long"
});
math.createUnit("multiverseVolumes", {
definition: "5.2359878e+89 lightyears^3",
prefixes: "long"
});


const unitChoices = { const unitChoices = {
length: [ length: [
@@ -158,7 +170,10 @@ const unitChoices = {
"gallons", "gallons",
"people", "people",
"olympicPools", "olympicPools",
"oceans"
"oceans",
"earthVolumes",
"universeVolumes",
"multiverseVolumes",
], ],
mass: [ mass: [
"kilograms", "kilograms",


Načítá se…
Zrušit
Uložit