public static function format($price, $string = "%2n")
    {
        setlocale(LC_MONETARY, self::$locale);

        if (function_exists("money_format")) {
            return money_format($string, $price);
        } else {
            return $price;
        }
    }