Closed
Description
Describe the bug
DicomImage.WindowCenter calculation wrong if WindowCenter ((0028,1050) [DS]) = 20958.0000415
Currently it calculates 20958.0000415 as 209580000415
To Reproduce
Open image with decimal WindowCenter value.
Expected behavior
WindowCenter should be at least rounded to 20958
Screenshots or test DICOM files
Environment
Fellow Oak DICOM version: 4.0.8)
OS: Windows 10 x64
Platform: .NET Framework 4.6.2