Skip to main content
Solved

How to replace decimal comma to dot to attribute value?

  • December 14, 2022
  • 1 reply
  • 444 views

This is probably very trivial topic but I cannot get the correct result from this:

 

@ReplaceString(@Value(ATTRIBUTE),,,.)

 

So idea would be to change e.g input value 1,6 to 1.6.

 

Or should I change some FME attribute value to have decimal separator as . instead of , ?

 

EDIT:

I get it working by this workaround. Maybe there's is some fancier solution image

Best answer by tomfriedl

@ReplaceString(@Value(test),",",".",caseSensitive=TRUE)

or

Transformer StringReplacer

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

1 reply

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • Best Answer
  • December 14, 2022

@ReplaceString(@Value(test),",",".",caseSensitive=TRUE)

or

Transformer StringReplacer


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