Oracle Floats vs Number

后端 未结 5 1534
孤街浪徒
孤街浪徒 2020-12-09 10:21

I\'m seeing conflicting references in Oracles documentation. Is there any difference between how decimals are stored in a FLOAT and a NUMBER types in the database?

A

5条回答
  •  春和景丽
    2020-12-09 10:32

    Like the PLS_INTEGER mentioned previously, the BINARY_FLOAT and BINARY_DOUBLE types in Oracle 10g use machine arithmetic and require less storage space, both of which make them more efficient than the NUMBER type

    • ONLY BINARY_FLOAT and BINARY_DOUBLE supports NAN values

    -not precise calculations

提交回复
热议问题