Q
Q
qrolf2017-09-10 21:17:18
PHP
qrolf, 2017-09-10 21:17:18

How to work with money type in postgres?

I create a field in the database with the money type.
I enter 10,000 into it, as a result I get 10,000.00 at the output? (I have a question instead of a currency)
When I subtract 1, I get 9.
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question