Skip to main content
Question

How to Convert an int attribute to string so I can concatonate with aggregator?

  • July 15, 2016
  • 2 replies
  • 473 views

Forum|alt.badge.img

Im using an aggregator to merge some features and some of the fields are integers but I wish to concatenate them like strings, i.e 12,24,106

When I attempt this in the aggregator it has an error as the attribute it is writing the concatenated value back to is number format.

How can I change the type of these attributes to string before they enter the aggregator?

Seems I can find plenty about converting string to int but not much the other way around.

Thanks for the help

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

Forum|alt.badge.img
  • Author
  • July 15, 2016

never mind, I think I was just using the string formatter wrong earlier, would remove this if I knew how.


Forum|alt.badge.img+5

Can you tell us what the error message is? I've tried this without problem and, in general, FME doesn't care about the attribute type in operations like this.