src/AnnotationProcessor/PropertyInformation.php
public function setScale(int $scale): self
    {
        // Check range.
        if ($scale < 0 || $scale > 30) {
            throw new \RangeException(sprintf('Scale "%d", should be in interval [0,30]', $scale));
        }

        $this->scale = $scale;

        return $this;
    }
public function setScale(int $scale): self
    {
        // Check range.
        if ($scale < 0 || $scale > 30) {
            throw new \RangeException(sprintf('Scale "%d", should be in interval [0,30]', $scale));
        }

        $this->scale = $scale;

        return $this;
    }
public function setScale ( int $ scale ) : self { // Check range. if ( $ scale < 0 || $ scale > 30 ) { throw new \ RangeException ( sprintf ( 'Scale "%d", should be in interval [0,30]' , $ scale ) ) ; } $ this -> scale = $ scale ; return $ this ; }
Set the number of significant digits after the decimal point.
This is only applicable to fixed point storage. The type will be a float
in that case because PHP has no fixed point numbers.

@see http://dev.mysql.com/doc/refman/5.7/en/precision-math-decimal-characteristics.html

@throws \RangeException

@param int $scale

@return PropertyInformation
Set the number of significant digits after the decimal point . This is only applicable to fixed point storage . The type will be a float in that case because PHP has no fixed point numbers .