Allow floats as values for the period