diff --git a/VERSION b/VERSION index db3cc7ff..814b7e64 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.8 (2012-09-11 09:26:57) stable +Version 2.0.8 (2012-09-11 09:39:06) stable diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 4a7857df..94a1f887 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -1410,7 +1410,7 @@ class SQLFORM(FORM): type(''): ('string', None), type(True): ('boolean', None), type(1): ('integer', IS_INT_IN_RANGE(-1e12,+1e12)), - type(1.0): ('double', IS_INT_IN_RANGE(-1e12,+1e12)), + type(1.0): ('double', IS_FLOAT_IN_RANGE()), type([]): ('list:string', None), type(datetime.date.today()): ('date', IS_DATE()), type(datetime.datetime.today()): ('datetime', IS_DATETIME())