0
False value:
0,00 -- false
True value:
0,01 -- true
0,10 -- true
1,00 -- true
10,00 -- true
100,00 - true
1.000,00 -- true
10.000,00 -- true
100.000,00 --true
1.000.000,00 -- true
10.000.000,00 -- true
100.000.000,00 -- true
1.000.000.000,00 -- true
Meaning it can only be greater than 0.00.
Follows the code:
[RegularExpression(@"^(?!0,00)\d+\,\d{0,2}$", ErrorMessage = "Inválido")]
The problem is 1,000.00
Some solution ?
I particularly disliked the thousand separator detection. It seems that it can detect
10.0.0.125,98
– Jefferson Quesado
@Jeffersonquesado I didn’t want to be so pragmatic, but it’s possible, if you want, I can see to do.
– Guilherme Lautert