Convert currency

Hello,

I am trying to convert currency to pt-BR.
Example: 4098.46 to 4,098.46

I am using: Decimal.Parse (“Value”, NumberStyles.Currency, CultureInfo.CreateSpecificCulture (“pt-BR”))

But I was unsuccessful, can you help me?

Note: already tried

Decimal.Parse(Value)
Convert.Decimal(Value)
Decimal.Parse(Value, System.Globalization.CultureInfo.InvariantCulture)

I did not succeed

Hi @fernandoborges

Have you tried using string format activity

Thanks
Ashwin.S

It worked, thank you very much.

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