Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning decimal values to .NET
Message
From
02/10/2004 09:56:14
 
 
To
02/10/2004 09:05:01
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00948193
Message ID:
00948200
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform