From 8878f494bfc80b642072134ea123bdba7fa14db9 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sat, 9 May 2020 17:48:51 -0400 Subject: [PATCH] Add more volumes --- macrovision.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/macrovision.js b/macrovision.js index eaf25596..7ddc4b62 100644 --- a/macrovision.js +++ b/macrovision.js @@ -122,6 +122,18 @@ math.createUnit("oceans", { definition: "700000000 km^3", 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 = { length: [ @@ -158,7 +170,10 @@ const unitChoices = { "gallons", "people", "olympicPools", - "oceans" + "oceans", + "earthVolumes", + "universeVolumes", + "multiverseVolumes", ], mass: [ "kilograms",