Earlier quoted context omitted.
It must be tough writing code in Europe - computers only use decimal points, not decimal commas. And how do you make an international interface for money, when you never know how people will enter things? I'm kind of confused as to why you're confused, so bear with me if I oversimplify, but are you aware of the globalization settings in your OS? It determines the display and entry format of things like currency. Yes,…
I don't know about you, but for me it's pretty common to output numbers that I then use in the program. So you have to distinguish between output meant for a program and output meant for human. Say someone gives you a logfile of problematic transactions - you then have to convert all the numbers to decimal points before using them in some one-off program that checks them.
That pretty much defines my career, yes.
Say someone gives you a logfile of problematic transactions - you then have to convert all the numbers to decimal points before using them in some one-off program that checks them.
Say someone gives me a MongoDB full of transactions that need to be transformed into relational data for our data warehouse...hey, I'll bet I could make a career out of this.
I truly don't mean to be trite, but what you describe is just the way of things. In your log file example, a regex would more than likely solve the problem. One loop, a readln() and a writeln(), sorted. People do it everyday. Hell, I'll probably do something similar before the day is out.