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...)
If provided witha string, strips out money-related formatting to turn it into a proper float. Rounds the float to the correct number of decimal places for this country's currency. Also, interprets periods and commas according to the country's currency settings. So if you want to pass in a string that NEEDS to interpret periods as decimal marks, call floatval() on it first.
When get() is called on a model object (eg EE_Event), before returning its value, call this function on it, allowing us to customize the returned value based on the field's type. Eg, we may want ot serialize it, strip tags, etc. By default, we simply return it.
Methods inherited from EE_Float_Field
Methods inherited from EE_Model_Field_Base