Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get precent price

public static function getPercentPrice(int $price, int $percent): int
    {
        return ($price / 100) * $percent;
    }
 
PREVIOUS NEXT
Tagged: #php #precent #price
ADD COMMENT
Topic
Name
4+1 =