Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Possibly Related Threads…
Thread Author Replies Views Last Post
Question need help calculating ratios madscijr 9 1,575 02-14-2025, 06:06 PM
Last Post: madscijr
  Cursor is showing low in graphics screen PhilOfPerth 2 599 11-06-2024, 07:50 AM
Last Post: PhilOfPerth
  Potencies high potencies Kernelpanic 4 1,123 10-08-2024, 01:34 PM
Last Post: Kernelpanic

Forum Jump:


Users browsing this thread: 1 Guest(s)