Registriert seit: 30. Nov 2005
Ort: München
5.782 Beiträge
Delphi 10.4 Sydney
|
Re: "Cardinal-String" zurück in Cardinal
12. Mai 2006, 13:18
Delphi-Quellcode:
Unit: IdGlobal
function StrToCard(AVal: String): Cardinal;
Parameters
AVal: String
the string containing a numerical value.
Returns
Cardinal - The value the string was converted to.
Description
This function converts a string value into a cardinal (a 32-bit unsigned value) after stripping off spaces and other control characters.
oder
Delphi-Quellcode:
Converts a string that represents an integer (decimal or hex notation) to a number.
Unit
SysUtils
Category
type conversion routines
function StrToInt64( const S: string): Int64;
Description
StrToInt64 converts the string S, which represents an integer- type number in either decimal or hexadecimal notation, into a number. If S does not represent a valid number, StrToInt64 raises an EConvertError exception.
Grüße
Klaus
Klaus
|
|
Zitat
|