Skip to main content
Solved

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


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.

View original
Did this help you find an answer to your question?

3 replies

david_r
Evangelist
  • 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
caracadrian wrote:

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 .


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings