Link Search Menu Expand Document

SSpread.GetInteger Method

Explanation Gets integer values from numeric, currency, and percentage cells.

The Clip, ClipValue, Text and Value properties can be referred directly to the cell value as a string, but this method directly refers to the integer value in the cell if the cell type is numeric, currency, or percentage.
Call format GetInteger(col, row)
Return value Integer value
Arguments col Cell column number
row Cell row number
Exception EXT-28
Example of use
    Col = 1;
    Row = 1;
    CellType = $CellTypeCurrency;
    
    SetInteger(1, 1, 12345);
    var ret = GetInteger(1, 1);
    print(ret, ret.classname, "\n");
    
Related item Clip, ClipValue, Text, Value properties
GetFloat, GetText, SetInteger method