<?php

namespace iwbvel\classes\helpers;

defined('ABSPATH') || exit();

use KhanhIceTea\Twigeval\Calculator;

class Formula
{
    public function calculate($input, $params)
    {
        $calculator = new Calculator(false);
        return $calculator->number($input, $params);
    }
}
