1
This commit is contained in:
21
vendor/phpoffice/math/src/Math/Element/Numeric.php
vendored
Normal file
21
vendor/phpoffice/math/src/Math/Element/Numeric.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PhpOffice\Math\Element;
|
||||
|
||||
class Numeric extends AbstractElement
|
||||
{
|
||||
/**
|
||||
* @var float
|
||||
*/
|
||||
protected $value;
|
||||
|
||||
public function __construct(float $value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
|
||||
public function getValue(): float
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user