From 9349f4de29a5eb50c1d66ce54d2d14478f7a208c Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sat, 5 Jun 2021 15:16:09 -0500 Subject: [PATCH] Add Hammer units --- macrovision.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/macrovision.js b/macrovision.js index 29c0df82..bbd008fe 100644 --- a/macrovision.js +++ b/macrovision.js @@ -254,6 +254,13 @@ math.createUnit("donkeySeconds", { definition: "250 joules", prefixes: "long" }) +math.createUnit("HU", { + definition: "0.75 inches", + aliases: [ + "HUs", + "hammerUnits" + ] +}); const defaultUnits = { length: { @@ -321,7 +328,8 @@ const unitChoices = { "beardSeconds", "points", "smoots", - "furlongs" + "furlongs", + "HUs" ] }, area: {