Ok, there is a part of my program (written in Visual Basic 2010) that I cant get working. I want to divide the number of calculations by the time taken by the computer to do them. The number of calculations the computer does is defined by the user at the start of the program.
Once this has been done the timer starts and the random numbers are calculated one after the other. I want the program to return how many calculations the computer does per second, but this means that I want to divide an integer data type by a double/date data type, and I suspect this is the part that VB isnt liking. What would I need to do to get the divide function working the way I want too?
Any help is appreciated, Raikesi
Once this has been done the timer starts and the random numbers are calculated one after the other. I want the program to return how many calculations the computer does per second, but this means that I want to divide an integer data type by a double/date data type, and I suspect this is the part that VB isnt liking. What would I need to do to get the divide function working the way I want too?
Any help is appreciated, Raikesi