Changeset 4314
- Timestamp:
- 04/30/08 18:37:23 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/manual/docs/en/basic-schema-mapping/columns/data-types.txt
r4159 r4314 145 145 columns: 146 146 floattest: float 147 </code> 148 149 ++++ Decimal 150 151 The decimal data type may store fixed precision decimal numbers. This data type is suitable for representing 152 numbers that require high precision and accuracy. 153 154 <code type="php"> 155 class Test extends Doctrine_Record 156 { 157 public function setTableDefinition() 158 { 159 $this->hasColumn('decimaltest', 'decimal'); 160 } 161 } 162 </code> 163 164 <code type="yaml"> 165 --- 166 Test: 167 columns: 168 decimaltest: float 147 169 </code> 148 170