public function setNumber($number = null)
    {
        $this->number = null !== $number ? floatval($number) : null;

        return $this;
    }
public function setNumber($number = null)
    {
        $this->number = null !== $number ? floatval($number) : null;

        return $this;
    }
public function setNumber ( $ number = null ) { $ this -> number = null !== $ number ? floatval ( $ number ) : null ; return $ this ; }
Sets the number.

@param float $number
@return NumberCharacteristic
Sets the number .