I have a class to represent integers and I want to differentiate between lbs and kg how do I do this?
<p>I'm thinking of creating a class for lbs and a separate class for kg which both inherit from integer but don't add anything to them.  This would allow the compiler to verify the right units are passed to functions.  </p>

<p>Is this the best approach or is there a better way of doing this?</p>
