Comments and answers for "How to know How many times the number was multiplied?"
http://answers.unity.com/questions/1397781/how-to-know-how-many-times-the-number-doubled.html
The latest comments and answers for the question "How to know How many times the number was multiplied?"Comment by elenzil
http://answers.unity.com/comments/1398364/view.html
can i ask a clarifying question ?
suppose the original number were 30 and the second number were 240.
would the answer you're looking for be 3 (doubled to 60 then doubled to 120, then doubled to 240),
or would it be 4 ?Thu, 24 Aug 2017 17:15:58 GMTelenzilComment by Vadol on Vadol's answer
http://answers.unity.com/comments/1398136/view.html
it's working, Thanks all!Thu, 24 Aug 2017 09:33:40 GMTVadolAnswer by elenzil
http://answers.unity.com/answers/1397888/view.html
30 * 2^n = 5000
2^n = 5000 / 30
n = Mathf.Log(5000 / 30, 2)
n = 7.38Wed, 23 Aug 2017 19:28:06 GMTelenzilAnswer by Positive7
http://answers.unity.com/answers/1397855/view.html
var number = 30;
var result = 5000;
var t = result / (number * 2);
Debug.Log(t.ToString("0.00"));Wed, 23 Aug 2017 18:36:14 GMTPositive7