Пример #1
0
 public function getFractional()
 {
     if (!$this->isSpan()) {
         return parent::decimalToFraction($this->getMin());
     } else {
         return parent::decimalToFraction($this->getMin()) . $this->getDelimiter() . parent::decimalToFraction($this->getMax());
     }
 }