Changeset 4314

Show
Ignore:
Timestamp:
04/30/08 18:37:23 (14 months ago)
Author:
jwage
Message:

fixes #991

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/manual/docs/en/basic-schema-mapping/columns/data-types.txt

    r4159 r4314  
    145145  columns: 
    146146    floattest: float 
     147</code> 
     148 
     149++++ Decimal 
     150 
     151The decimal data type may store fixed precision decimal numbers. This data type is suitable for representing  
     152numbers that require high precision and accuracy. 
     153 
     154<code type="php"> 
     155class 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--- 
     166Test: 
     167  columns: 
     168    decimaltest: float 
    147169</code> 
    148170