<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    OK, found the uploaded DLD file.<br>
    This dive: <a class="moz-txt-link-freetext" href="https://en.divelogs.de/dive/1659944">https://en.divelogs.de/dive/1659944</a><br>
    has <WEIGHT>9.1</WEIGHT>in the XML<br>
    So converting this to lbs: Divide by 0.4536 gives me 20.06 lbs,
    which is diplayed as 20.1 lbs (I do round to one digit for
    displaying).<br>
    <br>
    So now the question is: At which point did the 9.1 get its value for
    putting it into the XML. If the subsurface conversion from the
    entered lbs to stored metric uses the same factor (which I do
    believe), it should be 9.072 kilos.<br>
    <br>
    I guess your subsurface file would now come in handy to check whats
    in there.<br>
    <br>
    Thanks,<br>
    Rainer<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 24.02.16 um 11:13 schrieb Richard
      Houser:<br>
    </div>
    <blockquote
      cite="mid:4B15A55A-230A-4A2E-8056-C0BF436E5100@divinesymphony.net"
      type="cite">My id there is DiverMidMi, so feel free to look at the
      whole logbook. All my logs before this February display the values
      I see in Subsurface. Those were initially entered in 4.4.2. The
      new dives from this month show the excess weight. I can supply the
      actual Subsurface xml entries after I get home (probably tomorrow,
      last plane lands in a blizzard).<br>
      <br>
      The computer dives were one of these depending on the date:<br>
      <br>
      A300 CS -> ACI (Aeris proprietary app) -> CVS ->
      Subsurface -> export to <a moz-do-not-send="true"
        href="http://divelogs.de">divelogs.de</a> option --- my first
      10ish dives in Florida last year. I did have to do some really
      minor cleanup to the original XML (minutes vs. Seconds on samples
      if I recall)<br>
      <br>
      A300 CS -> Subsurface > export to <a moz-do-not-send="true"
        href="http://divelogs.de">divelogs.de</a> (switching from Mageia
      Subsurface 4.4.2 to Subsurface 4.5.3 Appimage before the dives
      this month.<br>
      <br>
      <div class="gmail_quote">On February 24, 2016 3:49:42 AM EST,
        Rainer Mohr <a class="moz-txt-link-rfc2396E" href="mailto:mail@divelogs.de"><mail@divelogs.de></a> wrote:
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <pre class="k9mail">Am 24.02.16 um 07:42 schrieb Dirk Hohndel:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On Wed, Feb 24, 2016 at 08:10:04AM +0200, Miika Turkia wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> On Wed, Feb 24, 2016 at 12:52 AM, Dirk Hohndel <a class="moz-txt-link-rfc2396E" href="mailto:dirk@hohndel.org"><dirk@hohndel.org></a> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"> On Tue, Feb 23, 2016 at 01:55:28PM -0500, Richard Houser wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #fcaf3e; padding-left: 1ex;"> #4 Dives exported from subsurface to <a moz-do-not-send="true" href="http://divelogs.de">divelogs.de</a> are now showing an
 additional 0.1lb more than what they show in subsurface.
</blockquote> Rounding error somewhere. Silly American
pounds.
</blockquote> Both Subsurface and <a moz-do-not-send="true" href="http://divelogs.de">divelogs.de</a> work in metric units internally. I
 just did a quick test and 5lb turns out to be 2.268 kg in Subsurface
 and is displayed as 2.2 kg on the divelist. <a moz-do-not-send="true" href="http://Divelogs.de">Divelogs.de</a> displays this
 as 2.3 kg (as is correct rounding). However, it seems that <a moz-do-not-send="true" href="http://divelogs.de">divelogs.de</a>
 uses this rounded number when displaying the imperial weight (5.1
 lbs). What has changed, I have no idea, but Rainer might be able to
 clarify. (Us showing incorrect metric rounding is irrelevant regarding
 <a moz-do-not-send="true" href="http://divelogs.de">divelogs.de</a> import/export as we use the exact value in calculations
 and export.)
</blockquote> That's odd, Rainer. Why would you convert the rounded value?
</blockquote>
I don't...

Just entered a weight of 2.268 kilos in a dive at <a moz-do-not-send="true" href="http://divelogs.de">divelogs.de</a> (which

do round to 2 digits, as I never thought a few grams would be of 
importance).
This results in 2.27 kilos in the database and diplays as exactly 5 lbs 
on the dive after setting my logbook to imperial. I have the feeling, 
that the dive had 2.3 kilos when it got into <a moz-do-not-send="true" href="http://divelogs.de">divelogs.de</a> (as this would 
explain the 5.1 lbs). I don't do any additional rounding when reading 
the XML of the DLD files, so I'd like to check what got exported to 
<a moz-do-not-send="true" href="http://divelogs.de">divelogs.de</a>

Richard, could you please give me a link to the dive? How did the dive 
get into <a moz-do-not-send="true" href="http://divelogs.de">divelogs.de</a>? The exact path of where the dive went in its 
digital life would help figure out where the rounding got screwed up.

Thanks,
Rainer

</pre>
        </blockquote>
      </div>
      <br>
      -- <br>
      Sent from my Android device with K-9 Mail. Please excuse my
      brevity.
    </blockquote>
    <br>
  </body>
</html>