Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calculating the High and Low of it all
#9
low = (_Round(low * 100000)) / 100000

BTW this little trick does not work all the time, in fact it fails to return a controlled max number of decimal digits disgustingly often.
Code: (Select All)
Dim low As Double
For low = 0 To .01 Step .00001
    low = (_Round(low * 100000)) / 100000
    Print low
Next
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
Question need help calculating ratios madscijr 9 1,574 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)