atulmish/UnitConversion

Converting between units which do not (or not only) have just a factor

Opened this issue ยท 5 comments

Currently we only support conversion between units of the form: left = right * factor. However, for temperature conversion, the units such as Celsius, Fahrenheit and Kelvin are not convertible by multiplication with factors.

Noted. ๐Ÿ‘

I'm planning of incorporating a Temperature "module" later on, after I'm done with setting the codebase along with standards implemented in stylecop. Of course, you're more than welcome to give it a try after I set up the codebase. :)

Sounds good, I'll give it a shot then. ๐Ÿ‘

@rohitjha Just make sure you 're-fork' the repo so you'll have the latest changes to the codebase, otherwise it won't be easy to merge your pull request. :)

๐Ÿ‘

I had my own go with a more generic conversion function to support temperature conversions and more. Unfortunately it would be a breaking change to the existing code base. Check out my fork to see it.