c# - MVC Decimal? Incremental Validation -


is possible, in addition adding range decimal? apply increments such divisible 100 true?

[required(errormessage = "amount required")] [range(1000, 25000, errormessage = "loan must between 1000 , 25000")] [displayname("amount")] public decimal? amount { get; set; } 

any appreciated :-)


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -