Allow floats to be specified for warn and crit.