fixed issue in template field type where "float" parameter wasn't working correctly