<?php
declare(strict_types=1);
namespace App\Utils\Decimal\Formater;
class RangeValues
{
public float $Min;
public float $Max;
public function __construct(mixed $min = 1, mixed $max)
{
$this->Min = (float)$min;
$this->Max = (float)$max;
}
public function getMax(): string
{
return number_format($this->Max);
}
public function getMin(): string
{
return number_format($this->Min);
}
public function getMaxFloat(): float
{
return ($this->Max);
}
public function getMinFloat(): float
{
return ($this->Min);
}
}