Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

mvc input number rounding

[DisplayFormat(DataFormatString = "{0:0.00000}", ApplyFormatInEditMode = true)]
public decimal MyValue { get; set; }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mvc #input #number #rounding
ADD COMMENT
Topic
Name
1+6 =