src/Phinx/Db/Table/Column.php
public function setPrecisionAndScale($precision, $scale)
    {
        $this->setLimit($precision);
        $this->scale = $scale;

        return $this;
    }
public function setPrecisionAndScale($precision, $scale)
    {
        $this->setLimit($precision);
        $this->scale = $scale;

        return $this;
    }
public function setPrecisionAndScale ( $ precision , $ scale ) { $ this -> setLimit ( $ precision ) ; $ this -> scale = $ scale ; return $ this ; }
Sets the number precision and scale for decimal or float column.

For example `DECIMAL(5,2)`, 5 is the precision and 2 is the scale,
and the column could store value from -999.99 to 999.99.

@param int $precision Number precision
@param int $scale Number scale
@return \Phinx\Db\Table\Column
Sets the number precision and scale for decimal or float column .