I've done a bit of searching for a solution to this (or a previously asked question on SO), but all that turns up are results for formatting numbers in the output of a program, which is not what I'm looking for. My question is, are there any solutions to formatting large numbers IN code (not the output of a program) to make them easier to read.
For instance
int main()
{
int LargeNumber = 1000000;
}
This number holds 1 million, but its not so easy to tell right away without moving the cursor over it and counting. Are there any good solutions to this besides using a comment?
int main()
{
int LargeNumber = 1000000;//1,000,000
}
Thank you.