public function getSizeDefinition()
    {
        if (null === $this->size) {
            return '';
        }

        if (null !== $this->scale) {
            return sprintf('(%u,%u)', $this->size, $this->scale);
        }

        return sprintf('(%u)', $this->size);
    }
public function getSizeDefinition()
    {
        if (null === $this->size) {
            return '';
        }

        if (null !== $this->scale) {
            return sprintf('(%u,%u)', $this->size, $this->scale);
        }

        return sprintf('(%u)', $this->size);
    }
public function getSizeDefinition ( ) { if ( null === $ this -> size ) { return '' ; } if ( null !== $ this -> scale ) { return sprintf ( '(%u,%u)' , $ this -> size , $ this -> scale ) ; } return sprintf ( '(%u)' , $ this -> size ) ; }
Returns the size and scale in brackets for use in an sql schema.

@return string
Returns the size and scale in brackets for use in an sql schema .