Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Return the symbol used by the locale for the specified currency.

>>> get_currency_symbol('USD', locale='en_US')
u'$'

:param currency: the currency code
:param locale: the `Locale` object or locale identifier

        def get_currency_symbol(currency, locale=LC_NUMERIC):
    """Return the symbol used by the locale for the specified currency.

    >>> get_currency_symbol('USD', locale='en_US')
    u'$'

    :param currency: the currency code
    :param locale: the `Locale` object or locale identifier
    """
    return Locale.parse(locale).currency_symbols.get(currency, currency)
        


src/n/a/nagare-0.4.1/nagare/i18n.py   nagare(Download)
          - the currency symbol
        """
        return numbers.get_currency_symbol(currency, self)
 
    def get_decimal_symbol(self):

src/f/j/fjord-HEAD/vendor/packages/Babel/tests/test_numbers.py   fjord(Download)
def test_get_currency_symbol():
    assert numbers.get_currency_symbol('USD', 'en_US') == u'$'
 
 
def test_get_decimal_symbol():

src/z/e/ZenPacks.zenoss.OpenStack-HEAD/src/Babel-1.3/tests/test_numbers.py   ZenPacks.zenoss.OpenStack(Download)
def test_get_currency_symbol():
    assert numbers.get_currency_symbol('USD', 'en_US') == u'$'
 
 
def test_get_decimal_symbol():

src/b/a/Babel-1.3/tests/test_numbers.py   Babel(Download)
def test_get_currency_symbol():
    assert numbers.get_currency_symbol('USD', 'en_US') == u'$'
 
 
def test_get_decimal_symbol():