I'm attempting to convert latitude and longitude coordinates from degrees minutes and second to decimal form. I would like to go from:<br>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Excel.Sheet">
<meta name="Generator" content="Microsoft Excel 2008">
<link id="Main-File" rel="Main-File" href="file://localhost/Users/rross/Library/Caches/TemporaryItems/msoclip/0/clip.htm">
<style>
<!--table
        {mso-displayed-decimal-separator:"\.";
        mso-displayed-thousand-separator:"\,";}
td
        {padding-top:1px;
        padding-right:1px;
        padding-left:1px;
        mso-ignore:padding;
        color:black;
        font-size:11.0pt;
        font-weight:400;
        font-style:normal;
        text-decoration:none;
        font-family:Calibri, sans-serif;
        mso-font-charset:0;
        mso-number-format:General;
        text-align:general;
        vertical-align:bottom;
        border:none;
        mso-background-source:auto;
        mso-pattern:auto;
        mso-protection:locked visible;
        white-space:nowrap;
        mso-rotate:0;}
ruby
        {ruby-align:left;}
rt
        {color:windowtext;
        font-size:8.0pt;
        font-weight:400;
        font-style:normal;
        text-decoration:none;
        font-family:Verdana;
        mso-generic-font-family:auto;
        mso-font-charset:0;
        mso-char-type:none;
        display:none;}
-->
</style>


<table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="53">
 <col width="53">
 <tbody><tr height="14">

  <td width="53" height="14">N39 42 36.3 W77 42 51.5<br></td>

 </tr>
</tbody></table>

to:<br>-77.739855,39.706666<br><br>Does anyone know of a library or some existing out their to help with this conversion? <br><br>