c# function to validate decimal upto p(25,2)

115

c# function to validate decimal upto p(25,2) -

RegularExpressionAttribute.

[RegularExpression(@"^(0|-?\d{0,16}(\.\d{0,2})?)$")]
public decimal Property
{
    get;
    set;
}

Comments

Submit
0 Comments