That's awesome Henrik. It works like a charm.
Can you explain how you got 34? It's not jumping out at me.
"A simple way to think about '*/' is that it shifts the result 8 places to the right,
resulting in an automatic division by 256."
I'm just not sure how you went about figuring that out.
I'd like to convert 34 into a formula for future use when I have to use a different range (cause I'm sure to have that need - several Flight Sim variables use pots and have their own range of values).





Bookmarks