Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

crakinshot

Problem: Returning a value's percentile within a given range.???

This topic is 5365 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Problem: How to return a value''s percentile within a given range (X-Y); if X is the low number of the range and if Y is the high number of the range and if K is the value to look up and where J is the percentage(0.0 to 1.0) of k within X and Y; How do you find J? Anyone know how to do this? I cant seem to get my head around it for some reason and I knows its probably a really simple equation... btw all numbers are real numbers (floats). Mez

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
J=(K-X)/(Y-X)

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!