TTMSFNCDataGridData.ValueToInteger Method
Safely converts a raw cell value to Integer using default format settings.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Overloads
Overload 1
Safely converts a raw cell value to Integer using default format settings.
class function ValueToInteger(AValue: TTMSFNCDataGridCellValue): Integer; overload;
Parameters
| Name | Description |
|---|---|
AValue |
Cell value to test or convert. |
Returns
The value converted to an integer.
Overload 2
Safely converts a raw cell value to Integer respecting locale-specific number parsing.
class function ValueToInteger(AValue: TTMSFNCDataGridCellValue; AFormatSettings: TFormatSettings): Integer; overload;
Parameters
| Name | Description |
|---|---|
AValue |
Cell value to test or convert. |
AFormatSettings |
Format settings used for locale-sensitive parsing or formatting. |
Returns
The value converted to an integer.