Decimal.imag()


Definition
Convert the decimal value to imag.

Syntax
Decimal.imag-> Decimal('')

Parameters
x=Decimal value

Examples
The following are output:
 >>> Decimal(233.22).imag
Decimal('0')
>>>
>>> Decimal(-133.441).imag
Decimal('0')
>>>
>>> Decimal(0).imag
Decimal('0')
>>> 

Comments