public static function calculate($currentValue, $pastValue, $quotientPrecision = 0, $appendPercentSign = true)
    {
        $number = self::getPercentageValue($currentValue - $pastValue, $pastValue, $quotientPrecision);
        if ($appendPercentSign) {
            return NumberFormatter::getInstance()->formatPercent($number, $quotientPrecision);
        }

        return NumberFormatter::getInstance()->format($number, $quotientPrecision);
    }