Numericality not working when adding 'E'
Closed this issue · 1 comments
george-norris-salesforce commented
numericality: {
lessThan: 10000,
greaterThanOrEqualTo: 0,
onlyInteger: true
}
will allow 123e
ansman commented
This is expected. Use the strict
option if you don't want to allow malformed numbers.