How to remove a dot from a variable

How to remove a dot from a variable? My variable is 5.124,34 - and I would like it to be: 5124,34

Thank You :slight_smile:

HI @sullivanne

InputVariable.ToString.Replace(".","")

You have asked the question in studioX I missed it. Below is the workflow for the StudioX.

regards

1 Like

@sullivanne

Assign activity: yourVariable = yourVariable.Replace(β€œ.”, β€œβ€)

or

Assign activity: yourVariable = yourVariable.ToString(β€œN2”, CultureInfo.GetCultureInfo(β€œen-US”))

1 Like

Hi @sullivanne

Try this

Cheers!!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.