Decimal
Decimal number for fast correctly rounded decimal floating point arithmetic.
Methods
__set_name__(self, owner : type[object], name : str) -> None
Parameters
- Name
self
- Type
- Default
- Description
- Name
owner
- Type
- type[object]
- Default
- Description
- Name
name
- Type
- str
- Default
- Description
__get__(self, instance : typing.Optional[object], owner : typing.Optional[type[object]]) -> decimal.Decimal
Parameters
- Name
self
- Type
- Default
- Description
- Name
instance
- Type
- typing.Optional[object]
- Default
- Description
- Name
owner
- Type
- typing.Optional[type[object]]
- Default
- Description
Response
- Type
- decimal.Decimal
- Description
Attributes
- Name
_default_value
- Type
- Value
= default
- Description
- Name
_attr_name
- Type
- Value
= ''
- Description