FireDAC.Stan.Util.FDStr2Int
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);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
procedure function |
public | FireDAC.Stan.Util.pas FireDAC.Stan.Util.hpp |
FireDAC.Stan.Util | FireDAC.Stan.Util |
Description
Convertit en nombre une chaîne qui représente un entier (notation décimale).
FDStr2Int convertit en nombre la chaîne ASrcData, qui représente un nombre entier en notation décimale.
Si ASrcData ne représente pas un nombre valide, FDStr2Int déclenche une exception EConvertError.