Skip to main content
Solved

How can I convert with "AttributeCraetor". For example, I want 123,34 to 123.34. commas to dot thanks

  • April 29, 2021
  • 3 replies
  • 19 views

Forum|alt.badge.img
How can I convert with "AttributeCraetor". For example, I want 123,34 to 123.34. commas to dot thanks

Best answer by caracadrian

If you want to replace commas to dots in AttributeCreator use the ReplaceString function:

@ReplaceString(@Value(attribute),",",.)

Don't forget to enclose your comma in double quotes.

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.

3 replies

david_r
Celebrity
  • April 29, 2021

The easiest would be to use the StringReplacer.


caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • April 29, 2021

If you want to replace commas to dots in AttributeCreator use the ReplaceString function:

@ReplaceString(@Value(attribute),",",.)

Don't forget to enclose your comma in double quotes.


Forum|alt.badge.img
  • Author
  • April 29, 2021

If you want to replace commas to dots in AttributeCreator use the ReplaceString function:

@ReplaceString(@Value(attribute),",",.)

Don't forget to enclose your comma in double quotes.

thank you. I've been using FME for 2 weeks. It worked .