Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 15th, 2018
116
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.27 KB
| None
|
0
0
raw
download
clone
embed
print
report
function string friendlyNumber(N:number)
{
S = "" + N
RS = ""
Length = S:length()
for(I=1,Length,1)
{
RS += S[I]
if((Length - I) % 3 == 0 && I != Length)
{
RS+=","
}
}
return RS
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
FreeBasic | 1 min ago | 3.67 KB
new Earthquake shell script
Bash | 50 min ago | 0.39 KB
SNN
Python | 59 min ago | 7.73 KB
SNN-RandomForest
Python | 60 min ago | 9.88 KB
CNN-RNN
Python | 1 hour ago | 4.03 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Untitled
FreeBasic | 1 hour ago | 3.61 KB
News April24 24
Email | 2 hours ago | 23.78 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!