Пример #1
0
 private function paddedFractionPart()
 {
     return str_pad(abs($this->fractionPart()), $this->currency->computePrecision(), '0', STR_PAD_LEFT);
 }
Пример #2
0
 /**
  * @deprecated
  */
 public function convertToPHPValue($value, AbstractPlatform $platform)
 {
     if ($value === NULL) {
         return NULL;
     }
     return \Kdyby\Money\Currency::get($value);
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct('NULL', 1, '', '', array());
 }