Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning decimal values to .NET
Message
De
02/10/2004 09:56:14
 
 
À
02/10/2004 09:05:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00948193
Message ID:
00948200
Vues:
14
David,

Did you step through your code with the debugger to see if the result was really 2? It might have been 1.8, and WriteLine *might* be rounding it without any additional formatting. (I don't use writeline for anything, just a guess). Just a hunch...

If that's the case, if you check out the Console.WriteLine() method in the on-line help, you'll see examples for different data types, plus some additional formatting that might help.

Let me know if that helps,
Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform