Skip to main content

IdxSpreadSheetCellData.GetAsFloat Method

Returns the stored cell data as a floating point value.

Declaration

function GetAsFloat: Double;

Returns

Type
Double

Remarks

Call this function to obtain a numeric cell value (that is, integer, date/time, currency) as a floating point value. If the GetAsFloat function returns 0 if unable to interpret the stored cell data as a floating point value.

Call the IsNumericValue function to identify if the stored cell data is a numeric. To clarify which actual type the numeric value has, call the GetDataType function.

The GetAsFloat function is a getter of the AsFloat property.

See Also