AnsweredAssumed Answered

Decimals NOT being truncated/rounded

Question asked by deleted-user-LNABNwA5CZcD on Oct 25, 2017
Latest reply on Jun 12, 2018 by Dan_Patterson

For points, I added some geometry fields (POINT_X and POINT_Y as automatically generated), which were created as Double type.

I want them to display as my label (e.g., "35.596821, -81.235600"). I went to the numeric formatting and changed to 6 as that's the number of decimal places I want.

For some (not all; most are fine), there is infinite repeat (e.g., "-81.39291999999999"). Here is my label code: Round($feature.POINT_Y, 6) + ", " + Round($feature.POINT_X, 6)

I've played around with the field calculator, even trying to create new fields and convert to different types, but that's not working.