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