Select to view content in your preferred language

Label with to many places.

516
2
05-19-2023 01:53 PM
Labels (3)
HenriqueJoner
New Contributor III

printlabel.png

Hello, 

I don't know why I'm getting this weird behavior on the layer labels. In our database this attribute only contains 2 decimal places.

 

Any idea how to fix this?

 

Thanks.

0 Kudos
2 Replies
KyleBearden1
New Contributor II

Same problem, did you ever resolve this issue?

Thanks

0 Kudos
KyleBearden1
New Contributor II

I figured it out... still kind of new to map viewer.  This thread is several months old but I'll post the solution in case someone else like me comes along looking for an answer.

You have to use an expression to round the labels:

1) click the expression button next to the Label field drop down

KyleBearden1_0-1709073373635.png

 

2) use the Round function to specify the field and number of decimal places to round to. You can give your expression a name too.

KyleBearden1_1-1709073589587.png

 

0 Kudos