src/Fridge/DBAL/Schema/Column.php
public function setScale($scale)
    {
        if (($scale !== null) && (!is_int($scale) || ($scale < 0))) {
            throw SchemaException::invalidColumnScale($this->getName());
        }

        $this->scale = $scale;
    }
public function setScale($scale)
    {
        if (($scale !== null) && (!is_int($scale) || ($scale < 0))) {
            throw SchemaException::invalidColumnScale($this->getName());
        }

        $this->scale = $scale;
    }
public function setScale ( $ scale ) { if ( ( $ scale !== null ) && ( ! is_int ( $ scale ) || ( $ scale < 0 ) ) ) { throw SchemaException :: invalidColumnScale ( $ this -> getName ( ) ) ; } $ this -> scale = $ scale ; }
Sets the column scale.

@param integer|null $scale The column scale.

@throws \Fridge\DBAL\Exception\SchemaException If the scale is not a positive integer.
Sets the column scale .