UnitOfDistance – Measure and Convert your distance

Well I was bored one night after creating the UnitOfMemory and decided what else could be useful in the future.  I came up with a UnitOfDistance to convert distances over land.  Miles v’s kilometers and everything in between.  The class was easy to come up with, finding the exact conversion rates however was a different story.  The class works by basing everything on meters.  A nice conversion method from converting from one measurement type to another.

If the precision level is not high enough for what you need, simply modify their values in the Enum list to what you do need.

  • Ghostprogrammer
  • I am known for being able to quickly decipher difficult problems to assist development teams in producing a solution. I have been called upon to be the Team Lead for multiple large-scale projects. I have a keen interest in learning new technologies, always ready for a new challenge.

One Comment

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: