public static function createDecimal($name, 
                                         $precisionBefore, 
                                         $precisionAfter)
    {
        $field = new DatabaseField($name, self::TYPE_DECIMAL);
        
        $field->m_constraint = intval($precisionBefore) . ',' . 
                               intval($precisionAfter);
        return $field;
    }