<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi Neil,<br>
    Nope - an integer should be able to be cast as 'double'<br>
    <br>
    Thanks for the interest, though.<br>
    Regards,<br>
    Zoltan<br>
    <br>
    <div class="moz-cite-prefix">On 2020/05/08 17:37, Neil Falconer via
      qgis-za-user wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAN6kTM4AnusJT=1mTqVenAe3wzRi0rmz+JSton2J7Pndja5aLQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Hi Zoltan, Seems crazy but could it possibly be
        because the 17 is an integer...if it was 17.0 it would be
        recognised as a Double? Regards Neil</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, 8 May 2020, 16:04
          Zoltan Szecsei via qgis-za-user, <<a
            href="mailto:qgis-za-user@lists.osgeo.org"
            moz-do-not-send="true">qgis-za-user@lists.osgeo.org</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div> Hiya,<br>
            Blooming decimal point/comma issue :-(<br>
            <br>
            Thanks anyway,<br>
            Zoltan<br>
            <br>
            <div>On 2020/05/08 16:26, Zoltan Szecsei via qgis-za-user
              wrote:<br>
            </div>
            <blockquote type="cite"> Hi,<br>
              Can anyone shed light on why I get:  <span
                style="font-weight:600">Eval Error:</span> Cannot
              convert '[LonM]' to double<br>
              from this expression:<br>
              <blockquote>if( "LonD"  IS 'Longitude' , 0.0,  "LonD" + ( 
                "LonM"  / 60.0 ))<br>
              </blockquote>
              I've pulled a CSV file into 'Layer' and failed to generate
              Point using Toolbox->Geometry by Expression, so I am
              now trying to create decimal Deg columns (virtual).<br>
              The first few lines in the CSV are: <br>
              <blockquote>Num,LonD,LonM,LonS,DirE,LatD,LatM,LatS,DirN<br>
                A1,Longitude,Latitude,,,,<br>
                1,17,25.00,0.0,E,23,7.53,0.0,N<br>
                2,17,25.10,0.0,E,23,7.52,0.0,N<br>
              </blockquote>
              Thanks and regards,<br>
              Zoltan<br>
              <br>
              <pre cols="72">-- 

===============================================
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028  (Best option: WhatsApp)
India:  +91 83418 01616
Qatar:  +974 5083 2722   <a href="http://www.geograph.co.za" target="_blank" rel="noreferrer" moz-do-not-send="true">www.geograph.co.za</a>
===============================================
</pre>
              <br>
              <fieldset></fieldset>
              <pre>_______________________________________________
qgis-za-user mailing list
<a href="mailto:qgis-za-user@lists.osgeo.org" target="_blank" rel="noreferrer" moz-do-not-send="true">qgis-za-user@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/qgis-za-user" target="_blank" rel="noreferrer" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-za-user</a>
</pre>
            </blockquote>
            <br>
            <pre cols="72">-- 

===============================================
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028  (Best option: WhatsApp)
India:  +91 83418 01616
Qatar:  +974 5083 2722   <a href="http://www.geograph.co.za" target="_blank" rel="noreferrer" moz-do-not-send="true">www.geograph.co.za</a>
===============================================
</pre>
          </div>
          _______________________________________________<br>
          qgis-za-user mailing list<br>
          <a href="mailto:qgis-za-user@lists.osgeo.org" target="_blank"
            rel="noreferrer" moz-do-not-send="true">qgis-za-user@lists.osgeo.org</a><br>
          <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-za-user"
            rel="noreferrer noreferrer" target="_blank"
            moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-za-user</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
qgis-za-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:qgis-za-user@lists.osgeo.org">qgis-za-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-za-user">https://lists.osgeo.org/mailman/listinfo/qgis-za-user</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 

===============================================
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028  (Best option: WhatsApp)
India:  +91 83418 01616
Qatar:  +974 5083 2722   <a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
===============================================
</pre>
  </body>
</html>