code: func (v *Validator) TypeFloat(field string) *ValidationResult {
  	if _, err := strconv.ParseFloat(v.data.Get(field), 64); err != nil {
  		// note: "number" is a more natural colloquial term than "float"
  		return v.addTypeError(field, "number")
  	} else {
  		return validationOk
  	}
  }
docs: // TypeFloat will add an error to the Validator if the first
  // element of data.Values[field] cannot be converted to an float64.