diff --git a/pydal/dialects/base.py b/pydal/dialects/base.py index 6495145c8..fc3230bc9 100644 --- a/pydal/dialects/base.py +++ b/pydal/dialects/base.py @@ -379,7 +379,8 @@ def gte(self, first, second=None, query_env={}): self.expand(second, first.type, query_env=query_env)) def _is_numerical(self, field_type): - return field_type in ('integer', 'boolean', 'double', 'bigint') or \ + return field_type in \ + ('integer', 'float', 'double', 'bigint', 'boolean') or \ field_type.startswith('decimal') def add(self, first, second, query_env={}):