Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the last digit
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01115397
Message ID:
01115408
Vues:
8
>Something like this:
>
>ln=422603445
>
>?right(trans(ln),1)


That will return a character value....
If he wants an interger then something like this..

ln=422603445

? INT(VAL(right(trans(ln),1)))


>>Hello felows
>>
>>I have the numeric field below where 5 is a verify digit
>>422603445
>>However is not separated, is all in a field
>>How can I get the last digit ?
>>
>>Regards
>>
>>Moises
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform