public function setPercent($percent)
    {
        NumericValidator::validate($percent, "Percent");
        $percent = Formatter::formatToPrice($percent);
        $this->percent = $percent;
        return $this;
    }
public function setPercent($percent)
    {
        NumericValidator::validate($percent, "Percent");
        $percent = Formatter::formatToPrice($percent);
        $this->percent = $percent;
        return $this;
    }
public function setPercent ( $ percent ) { NumericValidator :: validate ( $ percent , "Percent" ) ; $ percent = Formatter :: formatToPrice ( $ percent ) ; $ this -> percent = $ percent ; return $ this ; }
The rate of the specified tax. Valid range is from 0.001 to 99.999.

@param string|double $percent

@return $this
The rate of the specified tax . Valid range is from 0 . 001 to 99 . 999 .