Yes. In case integer image you get integer threshold value. Such is behavior of [skimage.exposure.histogram](https://github.com/scikit-image/scikit-image/blob/master/skimage/exposure/exposure.py).