Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro error for 4^.25
Message
 
À
04/05/2012 11:36:19
Michael Benassi
Teachers Credit Union
Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01543180
Message ID:
01543188
Vues:
84
>We are trying to do a calculation that uses any number to the power of a decimal. For example 4^.25. Foxpro returns an error that says "** or ^ domain error". The calculation works just fine for whole numbers but not for decimals. Is there any way around this?
>
>Thanks,
>
>MIke

It works fine since at least FoxPro 2.6 for DOS and Windows. Of course it would not work for negative numbers as the answer would be a complex number.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform