Solved

How to replace decimal comma to dot to attribute value?

  • 14 December 2022
  • 1 reply
  • 77 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

icon

Best answer by tomfriedl 14 December 2022, 09:22

View original

1 reply

Userlevel 2
Badge +12

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

or

Transformer StringReplacer

Reply