/**
  * @param   float   $value
  * @param   int     $flag   A flag used by the `ValueType::getType()` method (not used here)
  * @throws  \ReflectionException if the parameter is not a float
  */
 public function __construct($value, $flag = ValueType::MODE_STRICT)
 {
     if (!ValueType::isFloat($value)) {
         throw new \ReflectionException(sprintf(__METHOD__ . ' expects parameter one to be float, %s given', gettype($value)));
     }
     $this->setReadOnlyProperties($this::$_read_only);
     $this->type = ValueType::TYPE_FLOAT;
     $this->value = (double) $value;
 }