Files
kupshop/class/smarty_plugins/modifier.range_to_steps.php
2025-08-02 16:30:27 +02:00

20 lines
280 B
PHP

<?php
/**
* Smarty plugin.
*/
/**
* Smarty {range_to_step} function plugin.
*
* @param $range array
*
* @return array new range
*/
function smarty_modifier_range_to_step($range, $step)
{
var_dump([$range, $step]);
// Math.pow(10, Math.floor(Math.log10(313)))
}