Subject Re: [firebird-support] get float part of a number...
Author Doru Constantin
Alex Taylor wrote:

> SELECT FLOAT_NUMBER-CAST(FLOAT_NUMBER AS NUMERIC(10,0)) FROM TABLE_NAME

No. If you
SELECT 123.55 - CAST(123.55 AS NUMERIC(10,0)) FROM RDB$DATABASE
you will get -0.45 not 0.55!!! (NUMERIC(10,0) will round 123.55 to 124)