- changed status to resolved
dataHandlerNumeric::getString always format the number as a double
Issue #104
closed
the getString(const imbxUint32 index) in the dataHandlerNumeric class returns always a double value. The function is not considering the type of the template. This is a problem if class is templated with e.g. imbxUint16, when e.g. VR = US, SS etc.
The problem can be fixed with the following line of code
convStream << std::fixed << (((dataHandlerType*)m_pMemoryString)[index]);
Reported by user.
Comments (3)
-
reporter -
reporter - changed milestone to 2015 20150827-173545
- changed component to Data handlers
-
reporter - changed status to closed
Closed in 2015 20150827-173545
- Log in to comment
#104(dataHandlerNumeric::getString always format the number as a double)→ <<cset 8469790727f72896ac99503786eb358e6bf94c97>>