Raises an exception if the metadata value cannot be converted. If the original value is string based, the default culture from SignatureSettings.default_culture is used.
defto_decimal(self):...
Returns: decimal.Decimal: The Image Metadata Signature value as Decimal.
to_decimal
Converts the metadata signature value to a decimal.
Raises an exception if the metadata value could not be converted.
defto_decimal(self,provider):...
Parameter
Type
Description
provider
System.IFormatProvider
Format data provider to use with data conversion operations.
Returns: float: The metadata signature value as a decimal.