Return value in float64 if exposure time is int or greater than 1, otherwise return in fraction. Fixes #10738