Client side, think 2pac released a snippet.
|
|

Client side, think 2pac released a snippet.
Can you show me the method? I'll give it a shot.

There isn't one that's the point =D
This should display all values above one million using the letter "M" instead of "K".
Code:private static String intToKOrMil(int j) { if(j < 0x186a0) return String.valueOf(j); if(j < 0xf4240) return j / 1000 + "K"; else return j / 0xf4240 + "M"; }
You could change that to this to achieve that functionality:
Code:private static String intToKOrMil(int j) { if(j < 0x3e8) return String.valueOf(j); if(j < 0xf4240) return j / 1000 + "K"; else return j / 0xf4240 + "M"; }
^It works but it looks fugly imo =| (was testing to confirm...)
![]()
| « login box | HELP! Client crashes when I Move » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |