On shapefile data, I had used center point extractor using point mode center and add StringConcatenator with result string 2201@Value(_inside_x)@Value(inside_y).

After that I get the result 2201158707510.139225325713360.34431
where _x value is 158707510.139225 , _y value is 325713360.34431 and 2201 is constant value.

I want to remove after decimal values in the result and want result as 2201158707510325713360.

Any way to do this?

2 Answers 2


To remove the decimal values, just round:


in your case:


Or for a transformer solution use the AttributeRounder, like so:

enter image description here

...rounding to 0 places will give you integer values for the centre x/y

  • 1
    Could you expand your answer to include how the AttributeRounder is used Apr 21, 2017 at 14:49
  • Done. Added a screenshot and a little more info Apr 22, 2017 at 18:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.