Posts Underscores as thousands separators
Post
Cancel

Underscores as thousands separators

When using large Int numbers, we can use underscores as thousands separators to make it easier to read.

1
2
let love = 3_000
var population = 9_000_000
This post is licensed under CC BY 4.0 by the author.