public static function numberFormat($number, $decimals = 0, $decPoint = '.' , $thousandsSep = ','): string
{
$negation = ($number < 0) ? (-1) : 1;
$coefficient = 10 ** $decimals;
$number = $negation * floor((string)(abs($number) * $coefficient)) / $coefficient;
return number_format($number, $decimals, $decPoint, $thousandsSep);
}
scrollToElement(elementId) {
setTimeout(function() {
document.getElementById(elementId).scrollIntoView();
}, 100);
}