Advertisement
KoctrX

PROCENTAGE AROUND NUMBERS

Jun 8th, 2023
1,012
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. value = 0;
  2. min = -100;
  3. max = 100;
  4. percentage = ((value - min) / (max - min))*100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement