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

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/h/i/HitStarter-HEAD/hitstarter/hitstarter/apps/django_bitcoin/templatetags/currency_conversions.py   HitStarter(Download)
def btc2currency(value, other_currency="USD", rate_period="24h"):
    if other_currency=="BTC":
        return bitcoinformat(value)
    return currencyformat(currency.btc2currency(value, other_currency, rate_period))
 

src/d/j/django-bitcoin-0.2/django_bitcoin/templatetags/currency_conversions.py   django-bitcoin(Download)
def btc2currency(value, other_currency="USD", rate_period="24h"):
    if other_currency=="BTC":
        return bitcoinformat(value)
    return currencyformat(currency.btc2currency(value, other_currency, rate_period))
 

src/d/j/django-bitcoin-HEAD/django_bitcoin/templatetags/currency_conversions.py   django-bitcoin(Download)
def btc2currency(value, other_currency="USD", rate_period="24h"):
    if other_currency=="BTC":
        return bitcoinformat(value)
    return currencyformat(currency.btc2currency(value, other_currency, rate_period))