src/main/python/bktools/framework/money/currency.py
def number(cls, number: int) -> Optional[Currency]:
        """
        Retrieve the Currency object by its number.
        e.g. 986 (BRL), 840 (USD)

        Parameters:
            number: The currency number. e.g. 840 (USD)

        Returns:
            the Currency object
        """
        for entry in cls().__entries:
            if entry.number == number:
                return entry

        return None

        Retrieve the Currency object by its number.
        e.g. 986 (BRL), 840 (USD)

        Parameters:
            number: The currency number. e.g. 840 (USD)

        Returns:
            the Currency object
        
Retrieve the Currency object by its number.
Retrieve the Currency object by its number .
def number(cls, number: int) -> Optional[Currency]:
        for entry in cls().__entries:
            if entry.number == number:
                return entry
        return None
def number ( cls , number : int ) -> Optional [ Currency ] : for entry in cls ( ) . __entries : if entry . number == number : return entry return None
Retrieve the Currency object by its number.
Retrieve the Currency object by its number .
"""
        Retrieve the Currency object by its number.
        e.g. 986 (BRL), 840 (USD)

        Parameters:
            number: The currency number. e.g. 840 (USD)

        Returns:
            the Currency object
        """
the Currency object
the Currency object
cls
number
int
The currency number. e.g.
The currency number . e . g .