src/fnpb/util/currency_converter.py
def sats_to_fiat(value_sats: Satoshi, fiat: str) -> Decimal:
    """Converts a sats amount into a fiat value.

    Args:
        value_sats: The value in Sats.
        fiat: The fiat ticker.
    Returns:
        The Sats amount of the fiat.
    """
    value_btc = sats_to_btc(value_sats)
    value_fiat = btc_to_fiat(value_btc, fiat)
    return value_fiat
Converts a sats amount into a fiat value.

    Args:
        value_sats: The value in Sats.
        fiat: The fiat ticker.
    Returns:
        The Sats amount of the fiat.
    
Converts a sats amount into a fiat value.
Converts a sats amount into a fiat value .
def sats_to_fiat(value_sats: Satoshi, fiat: str) -> Decimal:
    value_btc = sats_to_btc(value_sats)
    value_fiat = btc_to_fiat(value_btc, fiat)
    return value_fiat
def sats_to_fiat ( value_sats : Satoshi , fiat : str ) -> Decimal : value_btc = sats_to_btc ( value_sats ) value_fiat = btc_to_fiat ( value_btc , fiat ) return value_fiat
Converts a sats amount into a fiat value.
Converts a sats amount into a fiat value .
"""Converts a sats amount into a fiat value.

    Args:
        value_sats: The value in Sats.
        fiat: The fiat ticker.
    Returns:
        The Sats amount of the fiat.
    """
The Sats amount of the fiat.
The Sats amount of the fiat .
value_sats
Satoshi
The value in Sats.
The value in Sats .
fiat
str
The fiat ticker.
The fiat ticker .