Explorar el Código

Add nautical miles, fathoms, and yards

master
Fen Dweller hace 4 años
padre
commit
c40c9bb482
Se han modificado 1 ficheros con 14 adiciones y 1 borrados
  1. +14
    -1
      macrovision.js

+ 14
- 1
macrovision.js Ver fichero

@@ -82,6 +82,16 @@ math.createUnit("timezones", {
prefixes: "long", prefixes: "long",
aliases: ["timezone", "timezones"] aliases: ["timezone", "timezones"]
}); });
math.createUnit("nauticalMiles", {
definition: "6080 feet",
prefixes: "long",
aliases: ["nauticalMile", "nauticalMiles"]
});
math.createUnit("fathoms", {
definition: "6 feet",
prefixes: "long",
aliases: ["fathom", "fathoms"]
});


math.createUnit("earths", { math.createUnit("earths", {
definition: "12756km", definition: "12756km",
@@ -317,7 +327,9 @@ const unitChoices = {
"customary": [ "customary": [
"inches", "inches",
"feet", "feet",
"yards",
"miles", "miles",
"nauticalMiles",
], ],
"relative": [ "relative": [
"humans", "humans",
@@ -340,7 +352,8 @@ const unitChoices = {
"points", "points",
"smoots", "smoots",
"furlongs", "furlongs",
"HUs"
"HUs",
"fathoms",
] ]
}, },
area: { area: {


Cargando…
Cancelar
Guardar