# \[Bug 1631021\] \[NEW\] DataType COORD - rounding missing

**URL:** <https://community.dhis2.org/t/bug-1631021-new-datatype-coord-rounding-missing/33395>\
**Category:** Support - Assistance technique\
**Created:** [6 October 2016 14:16 UTC](https://community.dhis2.org/t/bug-1631021-new-datatype-coord-rounding-missing/33395 "2016-10-06T14:16:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Calle\_Hedberg](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/calle_hedberg/32/33875_2.png) [@Calle\_Hedberg](https://community.dhis2.org/u/Calle_Hedberg)\
**Post date:** [6 October 2016 14:16 UTC](https://community.dhis2.org/t/bug-1631021-new-datatype-coord-rounding-missing/33395/1 "2016-10-06T14:16:08Z")

</div>

Public bug reported:

When using the COORD type in tracker, and picking some coordinate from  
the map, the coordinates appear with 15 decimals. That level of  
precision makes no sense - it should be automatically rounded to 6  
decimals (equivalent to around 10-20cm accuracy, more than enough for  
health purposes)

\*\* Affects: dhis2  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Importance: Undecided  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Status: New

> **···**
>
> --  
> You received this bug notification because you are a member of DHIS 2  
> developers, which is subscribed to DHIS.  
> [https://bugs.launchpad.net/bugs/1631021](https://bugs.launchpad.net/bugs/1631021)
> 
> Title:  
> &nbsp;&nbsp;DataType COORD - rounding missing
> 
> Status in DHIS:  
> &nbsp;&nbsp;New
> 
> Bug description:  
> &nbsp;&nbsp;When using the COORD type in tracker, and picking some coordinate from  
> &nbsp;&nbsp;the map, the coordinates appear with 15 decimals. That level of  
> &nbsp;&nbsp;precision makes no sense - it should be automatically rounded to 6  
> &nbsp;&nbsp;decimals (equivalent to around 10-20cm accuracy, more than enough for  
> &nbsp;&nbsp;health purposes)
> 
> To manage notifications about this bug go to:  
> [https://bugs.launchpad.net/dhis2/+bug/1631021/+subscriptions](https://bugs.launchpad.net/dhis2/+bug/1631021/+subscriptions)

---

<div class="post-metadata">

**Author:** ![Lars](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/lars/32/34166_2.png) [@Lars](https://community.dhis2.org/u/Lars)\
**Post date:** [6 October 2016 15:15 UTC](https://community.dhis2.org/t/bug-1631021-new-datatype-coord-rounding-missing/33395/2 "2016-10-06T15:15:49Z")

</div>

\*\* Changed in: dhis2  
&nbsp;&nbsp;&nbsp;&nbsp;Milestone: None =\> 2.25

\*\* Changed in: dhis2  
&nbsp;&nbsp;&nbsp;Importance: Undecided =\> Low

\*\* Changed in: dhis2  
&nbsp;&nbsp;&nbsp;Importance: Low =\> Wishlist

> **···**
>
> --  
> You received this bug notification because you are a member of DHIS 2  
> developers, which is subscribed to DHIS.  
> [https://bugs.launchpad.net/bugs/1631021](https://bugs.launchpad.net/bugs/1631021)
> 
> Title:  
> &nbsp;&nbsp;DataType COORD - rounding missing
> 
> Status in DHIS:  
> &nbsp;&nbsp;New
> 
> Bug description:  
> &nbsp;&nbsp;When using the COORD type in tracker, and picking some coordinate from  
> &nbsp;&nbsp;the map, the coordinates appear with 15 decimals. That level of  
> &nbsp;&nbsp;precision makes no sense - it should be automatically rounded to 6  
> &nbsp;&nbsp;decimals (equivalent to around 10-20cm accuracy, more than enough for  
> &nbsp;&nbsp;health purposes)
> 
> To manage notifications about this bug go to:  
> [https://bugs.launchpad.net/dhis2/+bug/1631021/+subscriptions](https://bugs.launchpad.net/dhis2/+bug/1631021/+subscriptions)

---

<div class="post-metadata">

**Author:** ![Abyot\_Gizaw](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/abyot_gizaw/32/40289_2.png) [@Abyot\_Gizaw](https://community.dhis2.org/u/Abyot_Gizaw)\
**Post date:** [15 November 2016 15:05 UTC](https://community.dhis2.org/t/bug-1631021-new-datatype-coord-rounding-missing/33395/3 "2016-11-15T15:05:15Z")

</div>

Fixed since 2.25.

\*\* Changed in: dhis2  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Status: New =\> Fix Released

> **···**
>
> --  
> You received this bug notification because you are a member of DHIS 2  
> developers, which is subscribed to DHIS.  
> [https://bugs.launchpad.net/bugs/1631021](https://bugs.launchpad.net/bugs/1631021)
> 
> Title:  
> &nbsp;&nbsp;DataType COORD - rounding missing
> 
> Status in DHIS:  
> &nbsp;&nbsp;Fix Released
> 
> Bug description:  
> &nbsp;&nbsp;When using the COORD type in tracker, and picking some coordinate from  
> &nbsp;&nbsp;the map, the coordinates appear with 15 decimals. That level of  
> &nbsp;&nbsp;precision makes no sense - it should be automatically rounded to 6  
> &nbsp;&nbsp;decimals (equivalent to around 10-20cm accuracy, more than enough for  
> &nbsp;&nbsp;health purposes)
> 
> To manage notifications about this bug go to:  
> [https://bugs.launchpad.net/dhis2/+bug/1631021/+subscriptions](https://bugs.launchpad.net/dhis2/+bug/1631021/+subscriptions)
