Skip to content

Conversation

@omnia-mahmoud-abdelhamid

No description provided.

/*:
Create a variable integer with a value of 1,000,000,000. Format it using commas, so it's easier to read.
*/
var z = 1000000000
Copy link
Owner

Choose a reason for hiding this comment

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

And you could even do something like this:
var z = 1_000_000_000
(The '_' characters get ignored by Swift but maybe make it easier to read what number it is we've written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants