Horde_Db_Adapter_Postgresql_Column::_extractScale PHP Method

_extractScale() protected method

protected _extractScale ( string $sqlType ) : integer
$sqlType string
return integer
    protected function _extractScale($sqlType)
    {
        if (preg_match('/^money/', $sqlType)) {
            return 2;
        }
        return parent::_extractScale($sqlType);
    }