to_decimal method

to_decimal

Converts the metadata signature value to Decimal.

Raises an exception if the metadata value could not be converted. If the original value is string based, the default culture property info will be used from SignatureSettings.DefaultCulture.

def to_decimal(self):
    ...

Returns: The metadata signature value as Decimal.

to_decimal

Converts the metadata signature value to a Decimal.

def to_decimal(self, provider):
    ...
Parameter Type Description
provider System.IFormatProvider Format data provider to use with data conversion operations.

Returns: The metadata signature value as Decimal.

See Also