pydantic_xlsx.money
This module defines some frequently used currencies for convince.
View Source
""" This module defines some frequently used currencies for convince. """ from .types import Money class Euro(Money): """Definition for Euro.""" minor_unit = 2 code = "€" code_before_amount = False delimiter = "," thousands_separator = "." class SwissFranc(Money): """Defines Swiss franc.""" minor_unit = 2 code = "CHF" code_before_amount = False delimiter = "." thousands_separator = " " class UnitedStatesDollar(Money): """Defines United States dollar.""" minor_unit = 2 code = "$" code_before_amount = False delimiter = "." thousands_separator = ","
View Source
class Euro(Money): """Definition for Euro.""" minor_unit = 2 code = "€" code_before_amount = False delimiter = "," thousands_separator = "."
Definition for Euro.
Inherited Members
- builtins.float
- conjugate
- as_integer_ratio
- fromhex
- hex
- is_integer
- real
- imag
View Source
class SwissFranc(Money): """Defines Swiss franc.""" minor_unit = 2 code = "CHF" code_before_amount = False delimiter = "." thousands_separator = " "
Defines Swiss franc.
Inherited Members
- builtins.float
- conjugate
- as_integer_ratio
- fromhex
- hex
- is_integer
- real
- imag
View Source
class UnitedStatesDollar(Money): """Defines United States dollar.""" minor_unit = 2 code = "$" code_before_amount = False delimiter = "." thousands_separator = ","
Defines United States dollar.
Inherited Members
- builtins.float
- conjugate
- as_integer_ratio
- fromhex
- hex
- is_integer
- real
- imag