On Feb 8, 5:13 pm, DenesL <denes1...@yahoo.ca> wrote: > On Feb 8, 4:15 am, "KONTRA, Gergely" <pihent...@gmail.com> wrote:> Hi! > > IS_FLOAT_IN_RANGE(0,10) will accept 10, and will accept 0. > > Since there is no equivalent in Python this one works as one would > normally expect.
Errr, so, INTs works as python ranges, and contrary, floats as "normally expect"? And what if I normally expect all numeric range validators work the same? Regardless of it is decimal or integer? So what about just ONE range validator for all kind of numbers? (a one, which is just number validator, so you could have another validator, which validates / coerces the type, if explicitly needed?) -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.