Text_Fields is a base class for any fields which are have float value. (Exception: foreign and private key fields. Wish PHP had multiple-inheritance for this...)
Direct known subclasses
If provided a string, strips out number-related formatting, like commas, periods, spaces, other junk, etc. However, treats commas and periods as thousand-separators ro decimal marks, as indicate by the config's currency. So if you want to pass in a string that NEEDS to interpret periods as decimal marks, call floatval() on it first. Returns a float
When instantiating a model object from DB results, this function is called before setting each field. We may want to serialize the value, etc. By default, we return the value using prepare_for_set() method as that is the one child classes will most often define.
Methods inherited from EE_Model_Field_Base