Link Search Menu Expand Document

SSpread.GetFloat Method

Explanation Gets floating point values from numeric, currency, and percentage cells.

The Clip, ClipValue, Text and Value properties can be referred directly to the cell's value as a string, but this method takes the floating point value in the cell if the cell type is numeric, currency, or percent.
Call format GetFloat(col, row)
Return value Floating point value
Arguments col Cell column number
row Cell row number
Exception EXT-28 An error occurred in the GetFloat method
Example of use
    Col = 1;
    Row = 1;
    CellType = $CellTypeCurrency;
    
    SetFloat(1, 1, 123.45);
    var ret = GetFloat(1, 1);
    print(ret, ret.classname, "\n");
    
Related item Clip, ClipValue, Text, Value properties
GetInteger, GetText, SetFloat method