Gets the value of the specified Field
as a float
.
Field
to evaluate. The float
value of the field.
Note: 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 | The field is not present in this ISearchResult. |
InvalidCastException | 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