We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Enforce the [style guide recommendation](https://internetcomputer.org/docs/current/developer-docs/build/cdks/motoko-dfinity/style/#miscellaneous] for numbers:
Group by 3 digits in decimal numbers and by 4 in hexadecimal notation.
In addition, add leading zeros in hex notation to be 2 digits or a multiple of 4 digits.
Examples:
1000000
1_000_000
0x2
0x02
0x123456
0x0012_3456
12_34_56
123_456
0.123456
0.123_456
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Enforce the [style guide recommendation](https://internetcomputer.org/docs/current/developer-docs/build/cdks/motoko-dfinity/style/#miscellaneous] for numbers:
In addition, add leading zeros in hex notation to be 2 digits or a multiple of 4 digits.
Examples:
1000000
would be formatted as1_000_000
0x2
would be formatted as0x02
0x123456
would be formatted as0x0012_3456
12_34_56
would be formatted as123_456
0.123456
would be formatted as0.123_456
The text was updated successfully, but these errors were encountered: