Use double precision for double with Firebird