allow floating point numbers in thresholds