April 13, 2019 Re: What Does @ Mean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to wjoe | On Friday, 12 April 2019 at 10:01:40 UTC, wjoe wrote:
> It's not entirely related but another use of the underscore is to make integers more readable. E.g.:
>
> int x = 1_000_000_000_000;
And, I suspect, to make numbers easier to translate between English Canadian and French Canadian:
Canadian: $1,200,333.45
Canadien: $1.200.333,45
|
Copyright © 1999-2021 by the D Language Foundation