> units
751 units, 62 prefixes
You have: 10 miles
You want: meters
* 16093.44
/ 6.2137119e-05
Huh. Never knew that was a thing! > units
751 units, 62 prefixes
You have: 10 miles
You want: meters
* 16093.44
/ 6.2137119e-05
Huh. Never knew that was a thing!If I work 42 hours/week, how many minutes is that per year?
I've downloaded 4.91GB in the last minute, what's that in Mbps? How long will it take to download a 76GB game?
This AWS feature costs $0.045/hour, how much is that per month?
This guy I read about traveled 58,000km in 27 years, what's his average speed in m/s?
How much would a 10cm sphere of gold be worth in GBP?
If a 36 inch pipeline can deliver 25580 acre-feet of water in a year, how fast is the water flowing in m/s?
Is there some trick to this? Or do you have to input it like:
You have: 4/3pi(10 cm)^319320 kg/m^345000 GBP/kg
(What ChatGPT gave me)
The invocation is
You have: goldprice * golddensity * spherevol(10cm/2)
You want: GBP
https://www.wolframalpha.com/input?i=%2810cm+sphere+of+gold+...
This is why we can't have nice things.
The / value is the inverse of that in case you wanted that, ie 0.1 meters in miles.
It's explained in `man 1 units`
$ qalc
> 3 millilightseconds to miles
3 milliLightSeconds ≈ 558 mi + 1491 yd + 0.1692913386 ft
I'm not sure if it has all the same units as `units` does, but it replaced my use of it entirely as it can do other useful operations as well/ divide
$ units 1500DKK USD
* 236.76653
/ 0.00422357
in which case it's always the first line I want.(The second line is telling me 1USD is 0.00422357 of 1500DKK.)
Note if you use the currency conversions,
systemctl enable units-currency-update.timer
is needed to keep them up-to-date. $ units --terse 2.4kWh megajoules
8.64You have: 1 miles You want: feet * 5280 / 0.00018939394
In the above example, 1 mile is 5280 feet, and 1 foot is 0.00018939394 miles
If I do 2 miles to feet, the values are doubled (or halved for the reverse conversion)
You have: 2 miles You want: feet * 10560 / 9.469697e-05