Add float validators

This is for https://github.com/kazeburo/GrowthForecast/pull/28