displayformat(dataformatstring currency) code example
Example: .net mvc decimal displayformat currency
[DataType(DataType.Currency)]
public float? Cost{ get; set; }
[DataType(DataType.Currency)]
public float? Cost{ get; set; }