basictypes.decimaldt
index
p:\properties\basictypes\decimaldt.py

Wrapper for Python 2.4 (which also works with 2.3) decimal datatype
 
You can find the 2.3 decimal module described in the PEP for it
here:
        http://www.python.org/peps/pep-0327.html
 
This is a floating-point decimal data-type, not the "fixedpoint" module.

 
Modules
       
basictypes.basic_types
decimal

 
Classes
       
Numeric_DT(BaseType_DT)
DecimalDT

 
class DecimalDT(Numeric_DT)
    Numeric data-type descriptor for the new standard Decimal type
 
 
Method resolution order:
DecimalDT
Numeric_DT
BaseType_DT
DataTypeDefinition
object

Data and other attributes defined here:
baseType = <class 'decimal.Decimal'>
Floating point class for decimal arithmetic.
dataType = 'decimal'

Class methods inherited from Numeric_DT:
coerce(cls, value) from type
Coerce value to Numeric value (using baseType)
 
Accepted values:
        "", "0" -- 0
        numeric values
        ascii strings -- base type attempts to interpret

Class methods inherited from BaseType_DT:
check(cls, value) from type
Determine whether value conforms to definition
factories(cls) from type
Determine a sequence of factory objects

Static methods inherited from BaseType_DT:
__new__(cls, *args, **named)
Create a new instance of our base-type

Data and other attributes inherited from DataTypeDefinition:
__dict__ = <dictproxy object at 0x01C6E630>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'DataTypeDefinition' objects>
list of weak references to the object (if defined)

 
Data
        __file__ = r'p:\properties\basictypes\decimaldt.pyc'
__name__ = 'basictypes.decimaldt'