Hello, We use RFA 8.1 C++ api.  We have a use case where we want to convert REAL type to int using DataBuffer. We accept the fact that doing this will result in data truncation. I can do it in two ways but what is the most accurate way to do it?
Assuming DataBuffer contains REAL type -
A. dataBuffer.getInt()
B. static_cast<int>(dataBuffer.getDouble());
Which one of the above is more accurate? Is there any other way to do this?