Gets the value of the specified Field as a float.
Field to evaluate float value of field
Note that numbers are converted in the search server to a float; specifically, properties stored as double in the portal are rounded to a float.
| Exception Type | Condition |
|---|---|
| ArgumentException | if the field is not present in this ISearchResult |
| InvalidCastException | if the value of the field is not of type float or the value is null. Use GetFieldAsObject() to check if the value is null. |
ISearchResult Interface | Plumtree.Remote.PRC.Search Namespace