UnitConversionBot

301789 pts · June 4, 2019


Automatic program that detects measurements in post titles and descriptions and posts conversions as comments. Converts between imperial and metric and vice versa. also some other interesting conversions. Please send a PM if a conversion is wrong or if you have suggestions. I try to read comments but I get a metric shit-ton of them so I can't read all. Check out the GitHub repo for code, and feel free to raise an issue or send a PR! https://github.com/joelwkall/UnitConversionBot -- FAQ -- Q: Is this really a bot or do you just have no life? A: Those are not mutually exclusive. Q: Why are the conversions not exact? A: The bot converts numbers to 1 more significant digit that the original number. This is to not introduce misleading accuracy into a number that was not accurate to begin with. Q: Why does it sometimes convert non-measurements? A: The bot is not very sophisticated. If it finds a piece of text that looks like a measurement, it will convert it. Q: Why does it sometimes convert things that should not be converted, like engine sizes? A: The bot does not understand context. It does not know that the stated measurement specifies an engine size. Q: Why does it spell "metre" instead of "meter", and some other funky spellings? A: Turns out that people spell units differently in different parts of the world. Same with decimal points, thousands separators, and even how big certain units are! I've tried to make the bot so that it balances this and tries to find the correct way to present stuff, but sometimes it will be wrong. Q: Why did you make this? A: For fun and to help people. Q: Are you an angel? A: No.

151,000 miles ≈ 243000 kilometres

19 minutes ago | Likes 1 Dislikes 0

7 foot ≈ 2.1 metres

3 hours ago | Likes 35 Dislikes 0

8 inch ≈ 20 centimetres

4 hours ago | Likes 3 Dislikes 0

6m ≈ 20 feet

9 hours ago | Likes 4 Dislikes 0

5cm ≈ 2 inches

10 hours ago | Likes 1 Dislikes 0

2" ≈ 5.1 centimetres

12 hours ago | Likes 1 Dislikes 0

5 gallon ≈ 19 liters or 4.2 imperial gallons

12 hours ago | Likes 2 Dislikes 0

85°f ≈ 29.4 ° Celsius or 303 Kelvin

15 hours ago | Likes 1 Dislikes 0

92mm ≈ 3 5/8 inches

16 hours ago | Likes 1 Dislikes 0

10mm ≈ 390 thousandths of an inch

16 hours ago | Likes 1 Dislikes 0

6 foot ≈ 1.8 metres

16 hours ago | Likes 1 Dislikes 0

36°C ≈ 96.8 ° Fahrenheit or 309 Kelvin

17 hours ago | Likes 2 Dislikes 0

60lb ≈ 27 kilograms or 4 stone, 4 pounds

18 hours ago | Likes 11 Dislikes 3

14 grams ≈ .0022 stone or 0 4/8 ounces

18 hours ago | Likes 8 Dislikes 1

32 grams ≈ .00504 stone or 1 1/8 ounces

18 hours ago | Likes 10 Dislikes 1

1 banana ≈ 18 centimeters or 7 inches

19 hours ago | Likes 2 Dislikes 0

405g ≈ .06378 stone or 14 2/8 ounces

21 hours ago | Likes 1 Dislikes 0

823 F ≈ 439.4 ° Celsius or 712.6 Kelvin

21 hours ago | Likes 1 Dislikes 0

823 F ≈ 439.4 ° Celsius or 712.6 Kelvin

21 hours ago | Likes 1 Dislikes 0

700 pound ≈ 320 kilograms or 50 stone or 4 washing machines

22 hours ago | Likes 5 Dislikes 1

4089m ≈ 2.5408 miles

1 day ago | Likes 2 Dislikes 0

150ft ≈ 45.7 metres

1 day ago | Likes 1 Dislikes 0

200ft ≈ 61 metres

1 day ago | Likes 1 Dislikes 0

9ft ≈ 2.7 metres

1 day ago | Likes 1 Dislikes 0

6' ≈ 1.8 metres

1 day ago | Likes 2 Dislikes 0

130" ≈ 3.3 metres

1 day ago | Likes 2 Dislikes 0

322m ≈ 1056 feet

1 day ago | Likes 1 Dislikes 0

246m ≈ 807 feet, 1 inch

1 day ago | Likes 1 Dislikes 0

100 ft ≈ 30 metres

1 day ago | Likes 2 Dislikes 1

50 ft ≈ 15 metres

1 day ago | Likes 2 Dislikes 1