- #1
bitttttor
- 11
- 0
Hi,
I'm making a small app in java and part of the script retrieves an 'evaluation' factor from 'a' between -1 to 1 (e.g. 0.882) where 1 is the best and -1 is the worst.
Now, my problem in that I need to change it into a positive factor form 'b' from 0 to 1 to compute with other factors. For example if the factor is a = 0, then b = 0.5
I cannot gasp the math.
Any help would be more than welcomed.
Best
I'm making a small app in java and part of the script retrieves an 'evaluation' factor from 'a' between -1 to 1 (e.g. 0.882) where 1 is the best and -1 is the worst.
Now, my problem in that I need to change it into a positive factor form 'b' from 0 to 1 to compute with other factors. For example if the factor is a = 0, then b = 0.5
I cannot gasp the math.
Any help would be more than welcomed.
Best