Basically I am formatting numbers like this
@String.Format("{0:C}", Model.Price)
The result is $2,320,000.00
My desired result, however, is 2,320,000.00
just without $
, respectively. How can I attain this, while still taking advantage of .nets localization handling?
Edit
and what if i want that change my class so that when ever a person try to get Price
, he gets this kind of formatted price . Here is my class
public class Listing : DomainObject
{
public decimal Price { get; set; }
public decimal Commission { get; set; }
}