Numeric separator syntax: Difference between revisions

(Scala contribution added.)
Line 264:
scala> // Integer Literals
 
scala> // Using _ as a digit separator (neither leading nor trailing) it can be placed anywhere in the number.
 
scala> 1_2_3
Line 285:
 
scala></lang>
 
=={{header|Sidef}}==
Sidef allows underscores as a separator character in numeric inputs.
Anonymous user