Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding without decimal
Message
From
04/03/2011 11:44:43
 
 
To
04/03/2011 11:30:19
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01502535
Message ID:
01502658
Views:
22
>I think Math.Truncate was the function you were looking for: http://msdn.microsoft.com/en-us/library/c2eabd70.aspx

For positive numbers that will give the same result as Math.Floor() which I suggested. For negative numbers the choice between the two depends on the result you want.....
Previous
Reply
Map
View

Click here to load this message in the networking platform