Hi,
i am trying to convert the currency value to decimal for updating the table. i tried Convert.Todecimal, double.parse..etc. but doesn't work. can you guys help me with this.
Double cgt = Double.Parse(Invoice.Total,NumberStyles.Any);
var cgt = Convert.Todecimal((Invoice.Total);
none of them are working.
basically i have a currency value like "$ 3,250.00" i want to convert to 3250.00 for updating the sql table. Thanks for your help.
i am using mvc with Entity Framework.
Go to the complete details ...