3 ms·
The databases have number formats that represent numerical values for money correctly. And they’re probably the most widely used programming systems for dealing
by bcatanzaro 9y ago
The databases have number formats that represent numerical values for money correctly. And they’re probably the most widely used programming systems for dealing with money.
https://dev.mysql.com/doc/refman/5.7/en/fixed-point-types.html https://dev.mysql.com/doc/refman/5.7/en/fixed-point-types.ht...
- usr1106 9y agoCorrect. But databases are not programming languages. I have never done any SW development in the commercial domain. Do you say in banking system the amounts never make it to the host language, they are always calculated in the database? A cashier system most likely doesn't even have a database. At least not used for every item.
- bcatanzaro 9y agoI'd count SQL as a programming language. https://en.wikipedia.org/wiki/SQL https://en.wikipedia.org/wiki/SQL
- usr1106 9y agoBut my main question was: The system that handles my bank account is it written in SQL only (or mainly)? I really don't know, because I have never seen the source code of such a system. For the average cashier / checkout system I would doubt that, although again I have never seen the source.