FireDAC.Stan.Util.FDStr2Int

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure FDStr2Int(ASrcData: PChar; ASrcLen: Integer; ADestData: Pointer; ADestLen: Integer; ANoSign: Boolean; AScale: Integer);

C++

extern DELPHI_PACKAGE void __fastcall FDStr2Int(System::WideChar * ASrcData, int ASrcLen, void * ADestData, int ADestLen, bool ANoSign = false, int AScale = 0x0);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FireDAC.Stan.Util.pas
FireDAC.Stan.Util.hpp
FireDAC.Stan.Util FireDAC.Stan.Util

Description

Converts into a number a string that represents an integer (decimal notation).

FDStr2Int converts into a number ASrcData, which represents an integer-type number in decimal notation.

If ASrcData does not represent a valid number, FDStr2Int raises an EConvertError exception.

See Also