Decimal separator: Difference between revisions

Content deleted Content added
Covracer (talk | contribs)
Mention underscore as common group separator in programming languages
Data versus mask: Java supports 123_000 notation
Line 123:
{{div col end}}
 
[[Julia (programming language)|Julia]], [[Swift (programming language)|Swift]], [[Java]], and free-form [[Fortran 90]] use the [[Underscore|underscore (_)]] character for this purpose; as such, these languages allow seven hundred million to be entered as 700_000_000.
 
Fixed-form [[Fortran]] ignores [[whitespace character|whitespace]] (in all contexts), so 700 000 000 has always been accepted. [[Fortran 90]] and its successors allow (ignored) underscores in numbers in free-form.