using min and max with float
"Shannon -jj Behrens" <[email protected]> Wed, 30 Apr 2008 22:57:38 -0700
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
I'm looking at the source, and I see that the Int validator can check that the int is within min and max, but the Number validator can't. Is there an easy way to check that the user has given me a Float in the range [0, 1]? Thanks, -jj -- I, for one, welcome our new Facebook overlords! http://jjinux.blogspot.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone