Advertisement
Guest User

Untitled

a guest
Mar 17th, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. simcity.GetFudgedPopulation = function (a) {
  2. a = "undefined" !== typeof a ? a : simcity.gGlobalUIHandler.mLastPopulation;
  3. if (500 >= a)
  4. return a;
  5. if (40845 < a)
  6. return Math.floor(8.25 * a);
  7. a = Math.pow(a - 500, 1.2) + 500;
  8. return Math.floor(a)
  9. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement