get_InUnits Method

WRAPPER_API double get_InUnits() const

 

Description

The get_InUnits method returns a double value that gives the value of this AngularValue in the AngularUnits specified by the get_Units method.

 

Example

void AngularValue_getInUnits(GeoCalcPBW::AngularValue & av)

{

CString description;

description += av.get_Label();

description += " = ";

char * val = new char[10];

sprintf(val, "%lf", av.get_InUnits());

description += val;

description += " ";

description += av.get_Units().get_Abbreviation();

AfxMessageBox(description);

}