Previous ION Java User's Guide: ION Java Class and Method Reference Next

getDImaginary()

The getDImaginary() method returns the imaginary value of the double complex variable. If the value is not of type double complex, zero is returned.

Syntax

public final double getDImaginary()

Return Value

The method returns the imaginary value of the double complex variable.

Arguments

None.

Exceptions

IONIsAnArrayException

Example

try {  
double i = myVariable.getDImaginary();  
}catch(IONIsAnArrayException e){  
   System.err.println("Variable is an array");  
}  

  IDL Online Help (March 06, 2007)