Example: 280/60 = 4.666 but after convertnig it to an integer, the result would be 5. What should i do so VB doesn't round off the number just delete the fractional numbers?
You could also use Str(), instr(), and left()
You would use instr to find the location of the "."
and left to get the text from 0 to the dot location -1
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe