22 lines
310 B
PHP
Raw Normal View History

2024-10-09 10:40:43 +08:00
<?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;
}
}