I am using rails
application
I want to allow price validation where min value : 0.01
and max value : 24
Also number start with allow:
- Examples of formats allowed
.23
,.2
,1.23
,0.25
,5
,6.3
- Minimum value of
0.01
- Maximum value of
24
What is model validation for this?