Numeric separator syntax: Difference between revisions

Corrected reference link
(Added C++ implementation)
(Corrected reference link)
Line 76:
 
=={{header|C++}}==
C++14 introduced the apostrophe (') as a numeric separator. The specification is [http://open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3781.pdf n3781]. The code below will thus run only on a C++14 or later compiler :
<lang cpp>
//Aamrun, 4th October 2021
Line 96:
And with the ' in C++ 14 : 3000000
</pre>
 
=={{header|Factor}}==
Factor allows the comma <code>,</code> as a separator character in number literals.
503

edits