I want to format a decimal value as a currency value.
How can I do this?
I want to format a decimal value as a currency value.
How can I do this?
In My case, I have to convert it into decimal as above mentioned I used to string Format method and then parse it to decimal and it works fine for me here is the example.
public decimal Amount;
public decimal_amount;
So I assigned values like this:
Amount = decimal.Parse(String.Format("{0:C}", _amount))