0

Title says it all.

I need a library to take away the drudgery of:

  • Representing a length in terms of yards, feet, and inches, and maybe miles.
  • Performing calculations on those, such adding inches to a length or adding two lengths together to produce a third.

We have Period and Duration for working with spans-of-time. I need something similar but for length rather than time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.