There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Not able to use Regex for Integer
I had stuck with the issue in Fluent Validator when I come across a situation where I need to validate the amount entered by user is positive and only accepting 2 digits after decimal point. I had explored and found method .Matches(regex) where it can be applicable
for the string types. How can these be applied in the integer types. I had tried with .ToString(), but being the class generated from EF int type does not allowed me to convert to string type to make use of the Regex feature. Can these be resolved?