src/AnnotationProcessor/PropertyInformation.php
public function setPrecision(int $precision): self
    {
        // Check range.
        if ($precision < 0 || $precision > 65) {
            throw new \RangeException(sprintf('Precision %d, should be in interval [1,65]', $precision));
        }

        $this->precision = $precision;

        return $this;
    }
public function setPrecision(int $precision): self
    {
        // Check range.
        if ($precision < 0 || $precision > 65) {
            throw new \RangeException(sprintf('Precision %d, should be in interval [1,65]', $precision));
        }

        $this->precision = $precision;

        return $this;
    }
public function setPrecision ( int $ precision ) : self { // Check range. if ( $ precision < 0 || $ precision > 65 ) { throw new \ RangeException ( sprintf ( 'Precision %d, should be in interval [1,65]' , $ precision ) ) ; } $ this -> precision = $ precision ; return $ this ; }
Set the number of significant digits for a decimal number.

This is only applicable to fixed point storage. The type will be a
string 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 It has a range of 1 to 65.

@param int $precision

@return PropertyInformation
Set the number of significant digits for a decimal number .