Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion concepts/numbers/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The following example shows the declaration and initialization of four different

```cpp
int m_morales{9241}; // base 10: 0-9
int a_apaec{0x24CD}; // base 16: 0-9 and A-F
int a_apaec{0x2419}; // base 16: 0-9 and A-F

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per the forum discussion we'd prefer to keep the hexadecimal version and instead adapt the others for consistency. Although the existing 0x2419 is probably due to a typo, it has the nice property of showcasing that hexadecimal also uses letters.

Also please consider Siebenschläfer's comment regarding the other files. Thanks!

int m_gargan{0b10010000011001}; // base 2: 0-1
int b_reilly{022031}; // base 8: 0-7
// Leading with a 0 not the letter o.
Expand Down