I would like to specify that a decimal field for a price must be >= 0 but I don\'t really want to impose a max value.
Here\'s what I have so far...I\'m not sure what the
If you're working with prices, I'm sure you can safely assume nothing will cost more than 1 trillion dollars.
I'd use:
[Range(0.0, 1000000000000)]
Or if you really need it, just paste in the value of Decimal.MaxValue
(without the commas): 79,228,162,514,264,337,593,543,950,335
Either one of these will work well if you're not from Zimbabwe.