Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JavaScript 2 VFp
Message
De
05/03/2005 13:34:36
 
 
À
05/03/2005 13:15:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00993028
Message ID:
00993031
Vues:
13
This message has been marked as the solution to the initial question of the thread.
>Hello everybody.
>
>the following is a JavaScript line
>1 * (3*0.868976241903*1.852e+15)
>
>which returns:
>4,828,032,000,013,069
>i always thought that "e+(-)" is the exponent function which in Vfp6 is writen as follows
>1 * (3*0.868976241903*1.852^15)
>
>but this returns:
>26961.49021013183
>the results don't match. i can write it the same way in vfp as in JavaScript (e+) it returns the correct result. but i am not sure if this is the correct way of doing this.
>
>how do you write this in Vfp?
>
>thank for all your help!

Gunnar,

You can take Java and put it in foxpro

e+nn = * 10 ^nn
e-nn = * 10 ^ (-nn)
123e15 = 123 * 10 ^ 15
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform