public static function htToTtc($price, $tax, bool $taxIsPercent = false)
    {
        if ($taxIsPercent) {
            $tax = $tax / 100;
        }
        return $price + ($price * $tax);
    }
public static function htToTtc($price, $tax, bool $taxIsPercent = false)
    {
        if ($taxIsPercent) {
            $tax = $tax / 100;
        }
        return $price + ($price * $tax);
    }
public static function htToTtc ( $ price , $ tax , bool $ taxIsPercent = false ) { if ( $ taxIsPercent ) { $ tax = $ tax / 100 ; } return $ price + ( $ price * $ tax ) ; }
HT to TTC transformation
@param float $price
@param float $tax
@param bool $taxIsPercent
@return float
HT to TTC transformation