General information
Category:
Coding, syntax and commands
Environment versions
Network:
Windows 2008 Server
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only