src/fnpb/util/currency_converter.py
def fiat_to_sats(value_fiat: Decimal, fiat: str) -> Satoshi:
    """Converts and returns a fiat value into Sats.

    Args:
        value_fiat: The amount of fiat to convert.
        fiat: The fiat ticker.
    Returns:
        The amount in Sats.
    """
    value_btc = fiat_to_btc(value_fiat, fiat)
    value_sat = btc_to_sats(value_btc)
    return value_sat
Converts and returns a fiat value into Sats.

    Args:
        value_fiat: The amount of fiat to convert.
        fiat: The fiat ticker.
    Returns:
        The amount in Sats.
    
Converts and returns a fiat value into Sats.
Converts and returns a fiat value into Sats .
def fiat_to_sats(value_fiat: Decimal, fiat: str) -> Satoshi:
    value_btc = fiat_to_btc(value_fiat, fiat)
    value_sat = btc_to_sats(value_btc)
    return value_sat
def fiat_to_sats ( value_fiat : Decimal , fiat : str ) -> Satoshi : value_btc = fiat_to_btc ( value_fiat , fiat ) value_sat = btc_to_sats ( value_btc ) return value_sat
Converts and returns a fiat value into Sats.
Converts and returns a fiat value into Sats .
"""Converts and returns a fiat value into Sats.

    Args:
        value_fiat: The amount of fiat to convert.
        fiat: The fiat ticker.
    Returns:
        The amount in Sats.
    """
The amount in Sats.
The amount in Sats .
value_fiat
Decimal
The amount of fiat to convert.
The amount of fiat to convert .
fiat
str
The fiat ticker.
The fiat ticker .