mvc input number rounding

Code Example - mvc input number rounding

                
                        [DisplayFormat(DataFormatString = "{0:0.00000}", ApplyFormatInEditMode = true)]
public decimal MyValue { get; set; }