Calculating the High and Low of it all
#4
The example I posted uses a double loop and swap to rank the database numbers from high to low. It's basically a non-optimized sorting routine. You can put back in the rounding, as needed. Don't let the MID$() stuff confuse you. You don't need it for your program. I put it in the demo as a way to spit out numbers. Just substitute DataBaseValue for DataBaseValue = VAL(MID$()... and you're good to use.

Pete
Reply


Messages In This Thread
RE: Calculating the High and Low of it all - by Pete - 10-18-2022, 07:17 PM



Users browsing this thread: 3 Guest(s)