Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number with 18 digits
Message
De
20/11/2003 18:24:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00851988
Message ID:
00852139
Vues:
10
>Hi all,
>
>I'm trying to set the value of a variable to a number of 18 digits.
>I'm with VFP6 SP 5.
>
>num = 810000000000000361
>
>and it displays
>810000000000000400
>
>is there any configuration parameter or anything to set length of variables to more than 16 digits?
>
>TIA
>Fabian

VFP only manages about 15 significant digits, with the usual double-precision numbers.

Currency values are accurate, to the limits they permit.

David was probably referring to my class, download #10044. However, this may be too slow for any practical use.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform