beta.xbrl.xule.Decimal

A beta.xbrl.xule.Decimal class represents a decimal value in the XULE type system.

Base class: beta.xbrl.xule.Value

class beta.xbrl.xule.Decimal(value)

Constructs a new beta.xbrl.xule.Decimal value object from a str, int, float or decimal.Decimal argument.

Attributes

beta.xbrl.xule.Value.location

Returns a beta.xbrl.xule.Location object that represents the underlying source XBRL fact, concept, relationship, … of this XULE value.

beta.xbrl.xule.Decimal.value

Returns a decimal.Decimal that represents the underlying XULE value.

Methods

beta.xbrl.xule.Value.property(name)

Returns the given property as a beta.xbrl.xule.Value object.

Special methods

__bool__, __eq__, __float__, __ge__, __gt__, __int__, __le__, __lt__, __ne__