diff options
author | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2019-04-13 12:17:14 -0400 |
---|---|---|
committer | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2019-04-13 12:17:14 -0400 |
commit | e0c5021a9ba85debf0c0722d78f75a0dbcc8376b (patch) | |
tree | fff7da15995839b099f1e5b66111e94da9b9b3b2 /unitsfile.txt | |
parent | 8e613844ae19a4dea2089ac34c1f0ae650eaeae7 (diff) |
Implemented the dimension-based converter.
Also added a search box list, and fixed a bug with dimension exponentiation.
Diffstat (limited to 'unitsfile.txt')
-rwxr-xr-x | unitsfile.txt | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/unitsfile.txt b/unitsfile.txt index 2455c8a..14fb6fb 100755 --- a/unitsfile.txt +++ b/unitsfile.txt @@ -171,7 +171,7 @@ arcsecond 1 / 60 arcminute arcsec arcsecond # constants -waterdensity 1 kilogram / litre +waterdensity kilogram / litre # Imperial length units foot 0.3048 m @@ -183,6 +183,10 @@ yd yard mile 1760 yard mi mile +# Compressed notation +kph km / hour +mph mile / hour + # Imperial weight units pound 0.45359237 kg lb pound @@ -231,4 +235,16 @@ metricpint 2 metriccup pint metricpint metricquart 2 metricpint quart metricquart -metricgallon 4 metricquart
\ No newline at end of file +metricgallon 4 metricquart + +# Energy units +calorie 4.18 J +cal calorie +Calorie kilocalorie +Cal Calorie + +# Extra units to only include in the dimension-based converter +m/s m / s +km/h km / h +ft/s foot / s +mi/h mile / hour
\ No newline at end of file |