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