Calculate average with PHP

average() is a custom made php function that accepts array of numbers as parameter and returns the average.

Continue


Calculate VAT Tax with PHP

Custom made PHP function vat() to calculate vat and adding it in total price. Value and percentage value argument can be passed to this function

Continue