SyntaxFix
Write A Post
Hire A Developer
Questions
It seems there's no choice but to put in the max value manually. I was hoping there was some type of overload where you didn't need to specify one.
[Range(typeof(decimal), "0", "79228162514264337593543950335")] public decimal Price { get; set; }