to_single method

to_single

Converts to float.

Throws 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.default_culture.

def to_single(self):
    ...

Returns: float: The Image Metadata Signature value as float.

to_single

Converts the metadata signature value to a float.

Raises an exception if the metadata value could not be converted.

def to_single(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 float.

See Also