Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More then 15 places past decimal??
Message
De
16/01/2002 16:30:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00605696
Message ID:
00605714
Vues:
12
>Hello!
>
>I was wondering if anyone has a solution for a problem I have run up against.
>
>I'm trying to figure out a way in VFP to divide two numbers and have the result be more than the 18 decimal place limitation in VFP.
>
>As an example: If I was to divide 1 by 467891 and calculate to 50 decimal places the result would be: 0.00000213724991504431587698844388970935538405312348
>
>But if I try to do this same thing in VFP the most I can get is: 0.000002137249915000
>
>What I want to do is the same thing in VFP that is found at the following website (written in Java Script)
>
>http://www.vsv.slu.se/johnb/java/divide.htm
>
>Any ideas or help would be greatly appreciated!

Why on earth do you need so many sig figs?

To put some perspective on this, 50 sig figs lets you express the mass of the observable universe accurate to about 200kg.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform