PartKeepr\PartBundle\Entity\PartParameter::setSiPrefix PHP Method

setSiPrefix() public method

Sets the si prefix for this parameter.
public setSiPrefix ( SiPrefix $prefix = null )
$prefix PartKeepr\SiPrefixBundle\Entity\SiPrefix The prefix to set, or null
    public function setSiPrefix(SiPrefix $prefix = null)
    {
        $this->siPrefix = $prefix;
        $this->recalculateRawValue();
    }