Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add a big number
Message
De
30/07/2012 12:16:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Add a big number
Divers
Thread ID:
01549526
Message ID:
01549526
Vues:
172
I want to create a group of big number2, such as:
123456789012345678901001
123456789012345678901002
123456789012345678901003
I did
nstart=123456789012345678901001
cstart=alltrim(trans(nstart,'999999999999999999999999'))

for i=1 to 10
nstart=nstart+1
cstart=cstart+'  '+alltrim(trans(nstart,'999999999999999999999999'))
next
but VFP can only add the first 16 digits
thus I only get
123456789012345678901001
123456789012345600000000
123456789012345600000000
123456789012345600000000
123456789012345600000000
please advise

Thank for the help

Regards,

Jerry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform