/**
  * @param mixed $value
  * @param bool $strict = false Accepts only explicit values, no null or empty string
  * @param bool $paranoid = false Throws exception if some value is lost on cast because of rounding
  * @throws \Granam\Number\Tools\Exceptions\WrongParameterType
  * @throws \Granam\Number\Tools\Exceptions\NegativeNumberCanNotBePositive
  * @throws \Granam\Scalar\Tools\Exceptions\WrongParameterType
  */
 public function __construct($value, $strict = true, $paranoid = false)
 {
     parent::__construct(ToNumber::toNegativeNumber($value), $strict, $paranoid);
 }
 /**
  * @test
  * @expectedException \Granam\Number\Tools\Exceptions\NegativeNumberCanNotBePositive
  */
 public function I_can_not_use_positive_number_as_negative()
 {
     ToNumber::toNegativeNumber(0.1);
 }