Do you have a formula for calculating the percentage between a LO and HI value given a value somewhere between the two?
I need to cover negatives too. Examples:
Also, what about finding the value between LO and HI if you know the percentage?
I need to cover negatives too. Examples:
Local LO#=140.0 Local HI#=160.0 Local VAl#=150.0 Print "Percent = "+ ?????????
Local LO#=-2.0 Local HI#=5.0 Local VAl#=0.0 Print "Percent = "+ ?????????
Also, what about finding the value between LO and HI if you know the percentage?
Local LO#=-22.5 Local HI#=200.61 Local P%=75 Print "Value = "+ ?????????Thanks coders. It's a simple maths thing driving me daft.