public function setValue($value)
    {
        NumericValidator::validate($value, "Value");
        $value = Formatter::formatToPrice($value, $this->getCurrency());
        $this->value = $value;
        return $this;
    }
public function setValue($value)
    {
        NumericValidator::validate($value, "Value");
        $value = Formatter::formatToPrice($value, $this->getCurrency());
        $this->value = $value;
        return $this;
    }
public function setValue ( $ value ) { NumericValidator :: validate ( $ value , "Value" ) ; $ value = Formatter :: formatToPrice ( $ value , $ this -> getCurrency ( ) ) ; $ this -> value = $ value ; return $ this ; }
amount up to N digit after the decimals separator as defined in ISO 4217 for the appropriate currency code.

@param string|double $value

@return $this
amount up to N digit after the decimals separator as defined in ISO 4217 for the appropriate currency code .