Ruby
China
新手问题
ruby 负整数的二进制表示
Topics
招聘
Wiki
酷站
Gems
Sign Up
Sign In
新手问题
ruby 负整数的二进制表示
czj
·
March 13, 2019
· Last by
luikore
replied at
March 14, 2019
· 1041 hits
irb
(
main
):
044
:
0
>
'%b'
%
-
1
=>
"..1"
为什么是 "..1"
luikore
#0
March 14, 2019
你可以
ri String.format
看看为什么
You need to
Sign in
before reply, if you don't have an account, please
Sign up
first.
@czj
Total
1
replies
New Reply comming, click to load.