Пример #1
0
 /**
  * formating number
  * @param number $number
  * @return string
  */
 protected function numberFormating($number, $to)
 {
     $change = $this->download->getRchange();
     $change[0] = number_format($number, $this[$to][self::DECIMAL], $this[$to][self::DEC_POINT], $this[$to][self::THOUSANDS]);
     return str_replace($this->download->getRfound(), $change, $this[$to][self::NUM_FORMAT]);
 }