private static function roundHalfAwayFromZero($amount)
    {
        if (0 <= bccomp($amount, '0', self::BCSCALE)) {
            $result = self::roundHalfUp($amount);
        } else {
            $result = self::roundHalfDown($amount);
        }

        return $result;
    }