How to Convert String To Decimal?

Hello Guys,

Anyone could help me?
How to Convert this number : “5123” to be “5.123”

Regards,
Brian

1 Like

Hi @Brian_Henokh1

Use this.Convert.ToDecimal

cheers :smiley:

Happy learning :smiley:

3 Likes

Try,
Convert.ToInt64(“1234”)*0.001
or
Convert.ToDecimal(“1234”)*0.001

1 Like