Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate 3 EZ Pay
Message
From
23/10/2008 10:33:33
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356419
Message ID:
01356593
Views:
24
>Simple for you (-: ... Thank you that is exactly what I needed...
>
>Now I have to figure out how to get the Integer from a Decimal in VB.NET. I tried the following but it is rounding off my number:
>Ex
>
>myDecimal = 599.99
>
>myInteger = Convert.ToInt32(myDecimal) ' returns 600
>myInteger = myDecimal \ 1 ' returns 600
>
>Daniel

Look at Math.Floor()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform