title: Converting a Person's Height from feet and inches to just inches C#
body: <p>Am using an external API that requests a person's height in inches, so 5.10" (5 feet and 10 inches) would be 70", now i want to give the user an input box so they can type 5.10 and then convert it to 70 in order to pass it to the API. I think there is a straight forward solution which is to:</p>
  
  <ol>
  <li>truncate input towards 0</li>
  <li>convert it from feet to inches</li>
  <li>get the mantissa </li>
  <li>convert it to int</li>
  <li>add both </li>
  </ol>
  
  <p>but i think it may not be that simple, please point me in the right direction. Coding it should pose no problem it the details and validation of input, for instance what will happen if the user type 5.12 or 5.13 for instance</p>