How can I convert 0 as float?
Cast( 0 as float )
return singe not float?
for example I have a table X with F1 field - float When use
Select (cast(0 as float)) as F1 from X
return error
Expecting float actual: Singe.
How can I convert 0 as float?
Cast( 0 as float )
return singe not float?
for example I have a table X with F1 field - float When use
Select (cast(0 as float)) as F1 from X
return error
Expecting float actual: Singe.
You should cast to double precision
. The float
datatype in Firebird is actually a SQL real
(or 32 bit single precision).