Esempio n. 1
0
// Return a C++ long from an EXTfldval
double OmnisTools::getDoubleFromEXTFldVal(EXTfldval& fVal) {
	qreal omnReal; qshort dp;
	fVal.getNum(omnReal, dp);
	
	double retDbl = static_cast<double>(omnReal);
	
	return retDbl;
}
Esempio n. 2
0
// Return a C++ long from an EXTfldval
float OmnisTools::getFloatFromEXTFldVal(EXTfldval& fVal) {
	qreal omnReal; qshort dp;
	fVal.getNum(omnReal, dp);
	
	float retFloat = static_cast<float>(omnReal);
	
	return retFloat;
}