The are two ways to distinguish it being one number or two:<p>(1) Context. This helps most of the time. Not the most helpful for computers, or CSV files. 
(2) Space. 123,456 is one number and 123, 456 are two. Again, not _strictly_ helpful for CSV files, which is why people use e.g. TSV.