Browse Source

Add some more options for volumes

master
Fen Dweller 5 years ago
parent
commit
ca0942cfde
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      macrovision.js

+ 11
- 1
macrovision.js View File

@@ -114,6 +114,14 @@ math.createUnit("people", {
definition: "75 liters", definition: "75 liters",
prefixes: "long" prefixes: "long"
}); });
math.createUnit("olympicPools", {
definition: "2500 m^3",
prefixes: "long"
});
math.createUnit("oceans", {
definition: "700000000 km^3",
prefixes: "long"
});


const unitChoices = { const unitChoices = {
length: [ length: [
@@ -148,7 +156,9 @@ const unitChoices = {
"milliliters", "milliliters",
"m^3", "m^3",
"gallons", "gallons",
"people"
"people",
"olympicPools",
"oceans"
], ],
mass: [ mass: [
"kilograms", "kilograms",


Loading…
Cancel
Save