1
0
mirror of synced 2024-12-14 15:16:04 +03:00

Add note about float type

This commit is contained in:
Benjamin Eberlei 2010-10-31 15:13:51 +01:00
parent 468c878c92
commit 6985b671d8

View File

@ -73,6 +73,7 @@ For example, the Doctrine Mapping Type `string` defines the mapping from a PHP s
* `text`: Type that maps an SQL CLOB to a PHP string.
* `object`: Type that maps a SQL CLOB to a PHP object using `serialize()` and `unserialize()`
* `array`: Type that maps a SQL CLOB to a PHP object using `serialize()` and `unserialize()`
* `float`: Type that maps a SQL Float (Double Precision) to a PHP double. *IMPORTANT*: Works only with locale settings that use decimal points as separator.
> **NOTE**
> Doctrine Mapping Types are NOT SQL types and NOT PHP types! They are mapping types