<div dir="ltr">Hi Alex,<div><br></div><div>Thanks for you comment. I have already solved the issue. When I first created the field I set the width to 3 and precision to 5 - this is where my values were rounded to whole number. But when I tried it the second time, I leave the width to its default value of 12 and adjusted the precision to 5 my value were not rounded (i got the correct values). The width supposed to be the number of characters for the integer and precision is the decimal places.</div>
<div><br></div><div>Thanks,</div><div>-Leo</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 29, 2014 at 11:29 AM, Alex Mandel <span dir="ltr"><<a href="mailto:tech_dev@wildintellect.com" target="_blank">tech_dev@wildintellect.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 04/28/2014 06:54 PM, Leo Kris Palao wrote:<br>
> Dear QGIS users,<br>
><br>
> Good day!<br>
><br>
> I want to get the longitude and latitude coordinate values of my points. I<br>
> used Geometry > $x and Geometry > $y to derive longitude and latitude of my<br>
> points. It give me correct values but when I exit editing mode the values<br>
> were rounded to whole number. For instance:<br>
><br>
> my Lon values is 95.94592 but when I exit editing mode this value is<br>
> converted to 95.00000<br>
><br>
> Thanks in advance for any help.<br>
><br>
> -Leo<br>
<br>
</div></div>New field or existing field?<br>
Hopefully with a new field you picked Text, and changed the maximum<br>
width. That is assuming you wanted to get 38.345 95.945 etc<br>
If you wanted to fields, then use Decimal Number(real), and do each one<br>
at a time. Now when you pick real, you have set the Precision. Precision<br>
is the number of values after the decimal (to the right). Typical GIS is 8.<br>
<br>
So to store 1 coordinate:<br>
Decimal Field (real)<br>
Width 12<br>
Precision 8<br>
<br>
Now if it's an existing field, just make a new field because it sounds<br>
like the old field isn't set right.<br>
<br>
If that doesn't help, can you tell use what version of QGIS and what<br>
operating system(including version).<br>
<br>
Thanks,<br>
Alex<br></blockquote></div><div dir="ltr"><input type="hidden"><input type="hidden"><div></div></div>
</div></div>