Jump to content

Math Forumla


MikeDXUNL

Recommended Posts

Hi,

 

The answer to your question is yes and no. Yes you can reach the figure 1000 from the numbers given, but only if you use a higher precision.

 

Based on 365 points being 36%, the total points would come out at around 1013. The correct percentage is 36.5%. Using this we can get 100:

 

<?php
$currentPoints = 365;
$currentPercentage = 36.5;
$totalPoints = (100 / $currentPercentage) * $currentPoints;

 

Robin

Link to comment
Share on other sites

That's really all there is too it.

 

Someone has ##1 of ## achievements

##1 are worth so many points.

(in this case I have 18 of 50 achievements. and those 18 are worth 365 points.)

I need to find how many total points there are. i know for this game there are 1000.

 

So I need to find X

 

but:

18 = 365

50    X

 

doesnt work.

 

 

Link to comment
Share on other sites

hi friend! How are you?

 

Are you limiting the total points to 1000 yourself? Or there is any formula you are using to limit it? I mean eg. 50 questions of 20 points each etc.

 

I think you are rounding of your 365/1000 to get 18/50

Link to comment
Share on other sites

hi friend! How are you?

 

Are you limiting the total points to 1000 yourself? Or there is any formula you are using to limit it? I mean eg. 50 questions of 20 points each etc.

 

I think you are rounding of your 365/1000 to get 18/50

 

 

no. that's a complete incorrect statement.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.