When I write @(line.Quantity * line.Product.Price).ToString("c") the result is

39,00.ToString("c") 

and @line.Quantity * line.Product.Price.ToString("c") result is

2 * line.Product.Price.ToString("c") 

How can i multiply two values and convert it to string in a razor view?

Edit
Report