Fixed a rounding error that can occur when very low values are used for digital maximum and digital minimum.