Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[js] 第732天 不同进制数字如何表示? #3827

Open
haizhilin2013 opened this issue Apr 16, 2021 · 2 comments
Open

[js] 第732天 不同进制数字如何表示? #3827

haizhilin2013 opened this issue Apr 16, 2021 · 2 comments
Labels
js JavaScript

Comments

@haizhilin2013
Copy link
Collaborator

第732天 不同进制数字如何表示?

3+1官网

我也要出题

@haizhilin2013 haizhilin2013 added the js JavaScript label Apr 16, 2021
@piterzhou
Copy link

二进制 :0|1组成
八进制:0开头,0-7组成
十进制:0-9组成
十六进制:0f开头,0-9,a-f组成

@wheatup
Copy link

wheatup commented Apr 20, 2021

进制 规则 范例
二进制 0b开头,01组成的数字 0b1001010
八进制 00o开头(严格模式下仅允许0o开头),0-7组成的数字 017,0o17
十进制 正常数字表示方法,0-9组成的数字 1234
十六进制 0x开头,0-9a-f组成的数字 0x13f2ab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
js JavaScript
Projects
None yet
Development

No branches or pull requests

3 participants