cannawen / metric_units_reddit_bot

Reddit bot converting imperial units to metric units
https://www.reddit.com/user/metric_units
GNU General Public License v3.0
77 stars 34 forks source link

Acres should be converted to km^2, hectares, or m^2 #31

Closed cannawen closed 7 years ago

cannawen commented 7 years ago

metric_units is a sassy reddit bot that finds imperial units, and replies with a metric conversion.

Currently, acres are always converted to km^2 (1 acre = 0.00404686 km ^2) Enhancement request: Acres should be converted to km^2, hectares, or m^2 (preferring to use the largest unit possible without using decimal places) See conversion_helper.js to get started

Recommended skills: Basic javascript Estimated time: 30 minutes

Comment below if you would like to take on this task!

JuanPotato commented 7 years ago

I'll take this on

cannawen commented 7 years ago

Sweet! Let me know if you need any help! P.S. I love your username

JuanPotato commented 7 years ago

You want it just to be m^2 or hectares and never use km^2?

cannawen commented 7 years ago

km^2 should still be used for values of over 1 km^2. Sorry the story was unclear, I'll edit it now!