Aller directement au contenu principal

StrToInt

Convertit une chaîne de caractères représentant un nombre entier (en notation décimale ou hexadécimale) en un nombre.

Structure

StrToInt(chaîne) : Entier ;

Paramètres

Valeur de retour

Description

La fonction StrToInt convertit la chaîne S, qui représente un nombre de type entier en notation décimale ou hexadécimale, en un nombre. Si S ne correspond pas à un nombre valide, StrToInt lève une exception EConvertError. |