Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
JS _ Binary to Decimal
vladovip
Dec 31st, 2021
8,140
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
bin2dec
(
binString
)
{
let resultDecimal
=
parseInt
(
binString
,
2
)
.
toString
(
10
)
;
console.
log
(
resultDecimal
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
December smells like money
CSS | 6 min ago | 0.39 KB
✅ Changelly.com Exploit
20 min ago | 0.39 KB
Trading method
CSS | 34 min ago | 0.39 KB
Google Docs - Exploit
48 min ago | 0.39 KB
December smells like money
CSS | 57 min ago | 0.39 KB
Mod Archive - Lecture automatique
JavaScript | 6 hours ago | 6.94 KB
Untitled
10 hours ago | 1.01 KB
coding and writing poetry
17 hours ago | 1.27 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!