Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = "" + Math.round(effect("Point Control")("Point")[0]);
- if (s.length > 3 && s.length < 7)
- s.substr(0, s.length -3) + "," + s.substr(-3)
- else if (s.length >= 7 && s.length < 10)
- s.substr(0, s.length -6) + "," + s.substr(-6, 3) +"," + s.substr(-3)
- else if (s.length >= 10 && s.length < 13)
- s.substr(0, s.length -9) + "," + s.substr(-9, 3) + "," + s.substr(-6, 3) +"," + s.substr(-3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement