Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System.Math.Round
Message
From
10/07/2006 14:27:18
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
System.Math.Round
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01135065
Message ID:
01135065
Views:
53
I am having a problem with rounding in vb.net
0.5 * 20.25 = 10.125
in vb.net MsgBox(System.Math.Round(0.5 * 20.25, 2)) = 10.12
in VFP ?round(.5 * 20.25,2) = 10.13

What am I missing

Thanks

Paul
Next
Reply
Map
View

Click here to load this message in the networking platform