Link Search Menu Expand Document

SSpread.SetInteger Method

Explanation Set integer values in numeric, currency, and percentage cells.

The Clip, ClipValue, Text, and Value for each properties can set the cell value as a string, but this method sets an integer value directly in the cell if the cell type is numeric, currency, or percentage.
Call format SetInteger(col, row, value)
Return value None
Arguments col Cell column number
row Cell row number
value Integer value to set
Exception EXT-28 An error occurred in the SetInteger method
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
GetInteger, SetFloat, SetText methods